Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Build a Simple MP3 Player for Your Site
Subject:   Forgot to say..
Date:   2009-09-06 16:03:31
From:   Lance Reed
Hello..
I have also tried this code...
<object width="300" height="42">
<param name="src" value="gtr.mp3">
<param name="autoplay" value="true">
<param name="controller" value="true">
<param name="bgcolor" value="#FF9900">
<embed src="gtr.mp3" autostart="true" loop="false" width="300" height="42" controller="true" bgcolor="#FF9900"></embed>
</object>


But Its still very unpreditable??
I can't accessing the page using firfox but not IE, I have had my friends try also, and they have the same problem of freezing once clicked on the link...
heres my site..http://www.lanceitc.com/evphome.html
If you click on MY EVP's this is where I am having the problems..
Many thanks Lance..

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • David Battino photo Forgot to say..
    2009-09-08 10:57:23  David Battino | O'Reilly Blogger [View]

    Hi Lance. There are several potential problems with your approach:
    • Internet Explorer treats embedding code as a potential security risk (or patent violation!), forcing visitors to click several times to initiate playback. (Google "EOLAS" for background.)

    • Your page loads all the media at once, rather than when each link is clicked. On slow connections, that can take a lot of time.


    I'd recommend using plain MP3 links and Play Tagger or Yahoo Media Player instead. See my followup article "Three Free & Easy Web Audio Players" at http://digitalmedia.oreilly.com/2008/08/21/free-easy-web-audio-players.html