944,141 Members | Top Members by Rank

Ad:
Sep 26th, 2006
0

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

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
DanielGardner is offline Offline
9 posts
since Nov 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: Help with Javascript
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: Printing in landscape





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC