Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

What would cause all mp3 songs to play at once when the page opens?

Posted on 2014-03-18
4
Medium Priority
?
256 Views
Last Modified: 2014-03-20
I have a web page with several mp3 song clips. Some people have reported that all the songs play at once when they open the page. I have not been able to replicate the issue. It persists after the page is refreshed also. What could be causing this? It's an html 5 page. Below is a sample of how each song is coded:

<audio controls><source src="music/Song-1.mp3"><embed height="18" width="160" src="music/Song-1.mp3"></audio>
0
Comment
Question by:weknowjack
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39937591
What browser are the users with a problem using?  Post a link to the page so we ca do diagnostics please.

Cd&
0
 

Author Comment

by:weknowjack
ID: 39938249
IE 8 was one. Not sure about others. Probably not the latest.

http://dallasdoowop.com/dallas_doowop_music.html
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 1500 total points
ID: 39943381
Okay the audio tag is HTML5 and IE prior to IE9 are not HTML5 aware.  So any HTML5 tag like audio will produce unpredictable results in old browsers.

To make matters worse the validator reports 44 errors in HTML for a lot of obsolete junk that has been dropped from the HTML5 standard:
http://validator.w3.org/check?uri=http%3A%2F%2Fdallasdoowop.com%2Fdallas_doowop_music.html&charset=%28detect+automatically%29&doctype=Inline&group=0

So you could also run into a problem with modern browsers as well.

You need to clean up the code for a start, and then look at alternative it you are going to support old browsers that almost no one is still using.

Cd&
0
 

Author Closing Comment

by:weknowjack
ID: 39943842
Well, it did answer my question, but an alternative solution recommendation would have been even more helpful. I found a few on my own using javascript. One is audio.js
I'll try them.
Thanks
0

Featured Post

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question