Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
OK, LONG QUESTION IN SHORT:
I decided to use audio.js in moodle.
I have uploaded file to public_html. And when I add this code to "HEAD":
<script src="https://WWW.MYWEBSITE.COM/audiojs/audio.min.js"></script>
<script>
audiojs.events.ready(function() {
var as = audiojs.createAll();
});
</script>
And then use default "import media - > audio" on question in moodle quiz (sample code bellow):
<audio controls="true"><source src="https://WWW.MYWEBSITE.COM/learning-base/draftfile.php/5/user/draft/119880121/test.mp3">https://WWW.MYWEBSITE.COM/learning-base/draftfile.php/5/user/draft/119880121/test.mp3</audio>
I can say that simply nothing changes, when preview the results... The player seems not changed at all. Well it had to, right? I want to change the html5 audio player design, this is why I use Audio.js. What am I doing wrong? P.S., I should mention I use the latest moodle 3 (updated to latest few days ago).
A complete solution can be found here
There is no way to control the way an audio tag is displayed, each browser does this differently. The download button is only available in chrome for example.
I would recommand using a library that handles the display of audio tags, like audio.js.
As said in the solution to this question, there isn't really a way to disable it. As shown in the answer, what you can do to hide it is increase the width and set the overflow on hidden on the media controls panel.
PS: This would be the case when using Google Chrome.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have been manually sending my resume to employers and wanted to know whether there is a Chrome extension that shows when I have visited a page before. This is to avoid sending my resume twice to the same company. I looked all over for one and couldn't find anything.
What I wanted would be just a basic icon that is grayed out if this is the first time you visit the page according to your browser history and lights up otherwise.
Does it exist? If not, would it be hard to make? I know a little C++ and understand algorithms in general, but have no other knowledge regarding extensions at all.
Thanks a lot!
I am not sure if it exists, but to solve this problem you can just build a simple chrome extension (yes it's easy if you want to know), chrome.history Api will help you do the trick, use chrome.history.search and change icon color following the result.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
There's a little .exe file which contains a game I want to make available on a website (pure HTML), but I don't know how to do it.
What I want to achieve is: when clicked, users shouldn't have to install it but be able to play it on the site.
You can't use or run executables with html. Html and js can not modify directly contents in your PC and use system functions, they can do what they are allowed to by the browser, that communicates with the system and restricts some functioning.
That is why they can be considered "virtual" - they run on the browser that take care of their parsing and viewing.
For the same way you can't either embed it, since embedding requires the ability to run it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
For example, let's say we're at the homepage at www.fakewebsite.com and, when we look at the footer at the bottom of the page, we can see that there is an "About" button that you can click on--which you do so you get to know more about the company. The website refreshes and enters into www.fakewebsite.com/about. My question is this: How is this done? I'm pretty new to the web developing world and would like to know what is done to make this possible (So, I can do it too).
What you need is known as an anchor and does not require ajax. You should start by searching info on that.
It looks like this:
about
This is done via an anchor element where the files are linked via a path in the href of the tag for example:
About
More info here: anchor
You can also study this starting with HTML + CSS and this Getting started with HTML
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am wondering there is a tool such as a Google Chrome extension out there that will get all of the css displayed on the current page, and nothing else. For instance, when you use the developer tools in chrome and get the css you have the option to get the classes you hover over and it's neighbouring classes, or the ability to see the full CSS file for the whole site. I am looking for a way to get ALL of the css used on the current page and displayed all together, instead of me having to manually check each div and pasting it into notepad.
I figure there must be something out there that does this. Any help is appreciated.
I haven't tried these myself, but Pendule and Quick Source Viewer look promising.
I would just post this as a comment but I don't have enough rep. :(
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is it possible to open links in a new tab inside Google Chrome without loading them? And instead, that it would wait for you to manually go to the tab to start loading ? (same philosophy as what Firefox, I suppose. Firefox does this when you open it and it starts where you left off, loading only the first-tab/last-loaded-tab)
Please let me know if there is a way to do that in Google Chrome, either by editing options or by the use of an extension you know off, that would be helpful.
Yes, this should be sort-of possible, but it's ugly and you still have to load something.
Basically, you need a bare-bones page that has JavaScript to detect whether or not the page has focus. You can use the code samples here to determine that: Is there a way to detect if a browser window is not currently active?
Once the page has focus, you can redirect to the actual page. This is messy. Don't do it, unless you have a really good reason. Your users will hate you for it.