I’m confused about how to set volume on html 5 audio through inline css and not javascript.
How would you apply volume to something like this?
<audio autoplay>
<source src="http://162.213.197.50/;" type="audio/mp3">
</audio>
I’m confused about how to set volume on html 5 audio through inline css and not javascript.
How would you apply volume to something like this?
<audio autoplay>
<source src="http://162.213.197.50/;" type="audio/mp3">
</audio>
How do you set volume on html 5 audio through inline and not css
a) Surely it should be for the listener to set the volume?
(b) That w3schools example isn’t using CSS, it’s using JavaScript.
I see you’ve changed the question, so let me try again.
CSS is used to control what a page looks like. JavaScript is used to control how it behaves. You can’t set behaviour using CSS.
This is how you control the volume of the jw player: &volume=100
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.