Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Wed, 28 Sep 2005 05:06:03 -0700,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


Problem with fulscreen when I use multiple media players on 1 page   
when n is number of player:

function FullScreen(n){
 try{	
       var p=window.document.getElementById("player"+n);
       if (p.playState==3)
      {
	if(gFullScr>0)
	{						 	window.document.getElementById("player"+gFullScr).fullScreen= 
'false';
	}							gFullScr=n;
	p.fullScreen = 'true';
      }		 
}
    catch(err){ ;}
 }

I have 1-4 media players with my own controls on webpage, I do fullscreen to 
one of it, after that other players can't do fullscreen and throw exception.
the command p.fullScreen = 'true'; throws exception , there is no problem 
with the first the js file: 
http://www.nrg.co.il/images/video/player2/player3.js
date: Wed, 28 Sep 2005 05:06:03 -0700   author:   KusTov

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us