Sound files and active x controls

M

msimonov

On the home page of www.customguitarandbasstracks.com I have installed HTML
for an mp3 file to play as the page opens...it works fine for me but several
people have said that when they close active x contols or say ok to active X
controls the song starts playing again over the same one that is playing
already so the same song is playing but out of sync since two are
playing..Please help...how can I fix this..I am using FP 2002
 
D

David Berry

You're embedding the MP3 twice. You have:

<BGSOUND SRC="3sheetslead.mp3"><EMBED SRC="3sheetslead.mp3" HIDDEN="true"
AUTOPLAY="true" AUTOSTART="true">

You should use either the BGSOUND tag OR the EMBED tag but not both. See
http://www.webreference.com/js/column20/embed.html for an explanation.

Also, you have some links that point to references on your Hard Drive which
means you see them but no one else will. For example:

background="file:///C:/Documents%20and%20Settings/Michael%20Simonov/My%20Documents/My%20Webs/customguitar/egback15.jpg

You need to import your images into your web first and then insert them. If
you inserted the image into your web then the link should look like this:

background="egback15.jpg"
 
D

David Berry

Add LOOP="false" PLAYCOUNT="1" to the embed tag. You don't need
AUTOPLAY="true" Ex:

<EMBED SRC="3sheetslead.mp3" HIDDEN="false" AUTOSTART="true" LOOP="false"
PLAYCOUNT="1" >
 
M

msimonov

David, I did what you said and changed the code, same problem , several
second delay after active x comes up and the person clicks ok....IT does not
do this on my computer running xp and where I am publishing from nor does it
do it on and old windows 98 machine that I have, any suggestions
 
D

David Berry

Unfortunately that popup about the Active X control is a security feature
and if the user doesn't have it turned off there's nothing you can do about
it. I just check the site and it worked fine for me. The song started
playing and only played once.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top