Forum Moderators: open

Message Too Old, No Replies

Pause onload music file when other video file is loaded

         

kashyap rajput

6:21 am on Feb 2, 2006 (gmt 0)

10+ Year Member



Hello Guys,

I have problem pausing onload MP3(music file) when other video of the page is loading. at the time of other video is loading, two music sounds ie. one of the video and other of onload MP3 music is heard., how can i pause the onload MP3 music when other video is loaded. i have put function stopPlay()to stop the onload music when other video is loaded, but it doesnt seems to work on all the computer/browsers, here' are the details you may look into:

<No URLs, thanks. See TOS [WebmasterWorld.com]>

on the index page, you may hear two sounds, one is of the video you loaded and others is of onload music file; now how can i pause or stop the onload music file when the video is loaded, you may check the function stopPlay(); that i have done to function, but its not working as expected.

Hope i am able to explain my problem better, you may ask if there's any difficulties;

thanx in advance

regards
Kashyap

[edited by: DrDoc at 5:26 am (utc) on Feb. 3, 2006]

DrDoc

5:28 am on Feb 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not that this answers your question ... But how about just skipping the onload sound altogether! It is a huge turnoff for visitors. Not to mention the problems it causes. You have already experienced some. Also consider the effect it has on dial-up users.

kashyap rajput

5:38 am on Feb 3, 2006 (gmt 0)

10+ Year Member



I understand it, but client is after all client, and they need onload music being played when someone comes to website :)

thanx for your suggestion...

anybody else have a solution?

thanx & regards
Kashyap