Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Jan 2007
    Thanked 0 Times in 0 Posts

    Javascript causing embedded media player to freeze

    I have a menu on the right side of my screen with links to pass a div id to a javascript function that hides and displays the sub menus. When you click on a link, it freezes what's playing in the embedded media player. Is this something with javascript or the media player?

    You can see the problem here: http://www.uviewnet.com/tv

    I tried sticking the embedded player into an iFrame, but that didn't seem to fix it.

    Edit: After thinking about it some more, there is a javascript button that makes the video go full screen, so it can't be just my javascript, it has to be specific to this function. Here is the function that shows/hides the div:
    	function show_nav_div(selected_div)
    		document.getElementById(selected_div).style.display = (document.getElementById(selected_div).style.display=="block" ? "none" : "block");

    Edit 2: Another thing I found, is that it only seems to be an issue on IE6, with IE7 it works fine. It also doesn't seem to matter whether you are running WMP9 or WMP10.
    Last edited by Jhorra; 02-07-2007 at 10:40 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts