User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 427,680 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,298 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1585 | Replies: 0
Reply
Join Date: Nov 2005
Posts: 9
Reputation: DanielGardner is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
DanielGardner's Avatar
DanielGardner DanielGardner is offline Offline
Newbie Poster

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

  #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.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 11:17 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC