I am making a prayer memorial for 3000 people and have to have a page that plays music in the background as the page advances in a scroll it command. I feel like I have tried everything, changed the music into several formats and just can not figure out why it will work on explorer and not on mozilla. Please help me. I have to have this complete for a prayer service tomorrow.. Here is the page:
Is this the correct URL?
See if this helps you.
Seems to be working for me on Linux.
I'm not sure if embed supports the loop parameter, so you may need to use the <object> tag instead and specify a large loop count.
<EMBED SRC="prayers4.wma" type="audio/mpeg" HIDDEN="true" AUTOSTART="true" LOOP="true">
<object data="prayers4.wma" type="application/x-mplayer2"> <param name="filename" value="prayers4.wma"> <param name="autostart" value="1"> <param name="loop" value="99"> </object>
I am trying this now and will let you know if it works. I am downloading quicktime first. The link is exact and the link I put up for Mozilla and chrome, Mozilla starts the song but cut it in mid stream. It did seem as if the loop parameter wasn't working so I appreciate that statement. Will let you know shortly. Thank you in advance for taking the time to reply. I hope this does it. ::smile::
The above posted type="application/x-mplayer2" will make Firefox use the Windows Media Player plugin to play the file.
That plugin is probably more common than the QuickTime plugin, so you can consider this change.
First let me please offer my appreciation for the ability to ask and get an answer to a problem. I was able to get "something" to work, but certainly not right away. For some reason this seems to be a "problem" addition on Firefox. One correction asked me to update Quicktime which I did and then I went with the correction offered by cor-el. The music played but did not loop and sadly, will not work at all in internet explorer. It did ask for a download of the player, which gave me sound.
The day of prayer is almost over....but again, how nice of you to help.
You currently have two players specified in the linked page that you posted and I hear them both (echo)
You only need one of them and you also need to make a choice which player you want to use by specifying a type attribute that is supported by a player (see aboutlugins)
I would assume that the Windows Media Player is able to play the second (object) tag properly once installed (I use MPlayer on Linux).
The Windows Media Player plugin for Firefox doesn't show in your system details list, so if you haven't installed this plugin yet, then give it a try to see if that works for you.
<EMBED SRC="prayers4.wma" type="audio/mpeg" HIDDEN="true" AUTOSTART="true" LOOP="true"> <object data="prayers4.wma" type="application/x-mplayer2"> <param name="filename" value="prayers4.wma"> <param name="autostart" value="1"> <param name="loop" value="99"> </object>
A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.