Jump to content

Audio Controls


jamesadrian
 Share

Recommended Posts

At https://www.futurebeacon.com/JA3.htm I have an audio player option for the website visitor.  In Firefox, it has a volume control, but in Safari,
it does not.  I have posed this question in several places without a response.  What additional code will cause the player to have an on-screen
volume control?

Here is the code that works as I have described:

<audio controls>
  <source src="https://www.futurebeacon.com/JA3.mp3" type="audio/mp3">
  <source src="https://www.futurebeacon.com/JA3.ogg" type="audio/ogg">
  <p>Your browser doesn't support HTML5 audio.</p>
</audio>
</div>

Now I ask, where may I find all the possible options for code in the audio player?

Thank you for your help.


Jim Adrian

jim@futurebeacon.com


 

 

Link to comment
Share on other sites

  • 3 weeks later...

Hello,@jamesadrian

Please try this code,To Audio Controls

 

<!DOCTYPE html>
<html> 
<body style="text-align: center">
    <audio id="Test_Audio" controls>
  
        <source src=
"https://media.geeksforgeeks.org/wp-content/uploads/20190531165842/Recording1514.ogg"
                type="audio/ogg">
  
        <source src=
"https://media.geeksforgeeks.org/wp-content/uploads/20190531165842/Recording1514.mp3"
                type="audio/mpeg">
    </audio>
</body>
  
</html>

 I hope this code will be useful for you.

Thank You.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...