Drop down box won't shut off video on reverse in IE

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Nov 2005
Posts: 9
Reputation: DanielGardner is an unknown quantity at this point 
Solved Threads: 0
DanielGardner's Avatar
DanielGardner DanielGardner is offline Offline
Newbie Poster

Drop down box won't shut off video on reverse in IE

 
0
  #1
Sep 26th, 2006
I have a problem that is particular to certain browsers. My Dad's website attempts to show a video when the user clicks on the video title link. On clicking, a drop down box extends, and the video content plays. Then if user choses to close the dropdown box, the video content disappears. This is the code used:

[html]
<a href="javascript:ReverseContentDisplay('gracadedeus(taber)')">Watch</a>
<a href="http://www.obreiroaprovado.com/assista/flv/video/prcalvin/tabernaculo/A%20Graca%20de%20Deus_(Tabernaculo).flv">Download Video</a>
<a href="http://www.obreiroaprovado.com/assista/flv/audio/prcalvin/tabernaculo/A%20Graca%20de%20Deus_(Tabernaculo).mp3">mp3</a>
"A Graca de Deus"
<div id="gracadedeus(taber)" style="display:none;">
<p>
<!-- ****** Begin embed video code ****** //-->
<center>
<embed src="http://www.obreiroaprovado.com/video/flv/flvplayer.swf?file=http://www.obreiroaprovado.com/assista/flv/video/prcalvin/tabernaculo/A%20Graca%20de%20Deus_(Tabernaculo).flv&autoStart=true" width="320" height="240" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
<a href="javascript:ReverseContentDisplay('gracadedeus(taber)')">Close</a>
</center>
<!-- ****** End embed video code ****** //-->
[/html]

My problem is: while Firefox correctly ceases the video playing should the user close the content box, in IE the box and video disappear however you can still hear the audio of the video as if it were still playing.

The webpage I speak of in particular is this one (in Portuguese): http://www.obreiroaprovado.com/assis...ideo/prcalvin/

My understanding of HTML doesn't help me out much in this problem, and I would appreciate any ideas you all have to fix the problem, even if it means adding more code somewhere.

Thanks for your time,

Daniel
Noob alert! Please give plenty of room for mindless confusion.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC