Solved

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

Posted on 2014-03-18
4
240 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
  • 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 500 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This video teaches users how to migrate an existing Wordpress website to a new domain.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now