•
•
•
•
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 374,546 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 2,653 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: 1371 | Replies: 0
![]() |
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
[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.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
advertising ajax asp bbc bluray broadcast business developer development digital driving dvd effects format gadget game google handheld hd home internet marketing media merger microsoft movie msdn news nintendo office online playstation psp pvr racing search site skype software sony sql stocks streaming tv video video game video games vista web youtube
- How to create a Flash Video online? (Windows 9x / Me)
- Drop Down Menu Height (JavaScript / DHTML / AJAX)
- Populating a fields on a form base on a selected item from a droplist. (PHP)
- Adding controls into a ListView (Visual Basic 4 / 5 / 6)
- Windows ME keeps restarting instead of shutting down (Windows 9x / Me)
- System Processes in XP? NetTsk.exe? (Windows NT / 2000 / XP / 2003)
- Boot up issues (Windows NT / 2000 / XP / 2003)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Help with Javascript
- Next Thread: Printing in landscape


Linear Mode