jamesadrian Posted May 9, 2020 Posted May 9, 2020 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 [email protected]
Makwana Prahlad Posted May 27, 2020 Posted May 27, 2020 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now