Re: Full Screen problem on Mosaic
- From: Franck_AFP <FranckAFP@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 May 2006 09:08:02 -0700
For information,
My problem is solved with WMP11 (Beta)
Amts.
Franck.
"Franck_AFP" wrote:
Thank for you answer..
I wish to use the full screen with the double click, but currently, does not
work that correctly.
Moreover, the parameter setting “windowlessVideo” uses too much resource CPU
for my mosaic.
For remember, when I double click on a video, I pass in full screen, then
when I double click on another video I have the full screen of the first in
not of the second.
"Neil Smith [MVP Digital Media]" wrote:
Thanks for posting the complete code (I should have said, only the
embedding code and javascript was necessary !)
WMP can be set to full screen mode on double click in WMP for Windows
XP, so this is version 8,9,10 and (I believe) 11 should work the same
way, it's one of the tests I have planned.
If I understand your problem correctly, you wish to prevent a
double-click on the embedded player from making the player go full
screen ?
The correct <param /> tag for this in your embedding code is
<param name="windowlessVideo" value="true" />
If you also wish to disable the right-click context menu (which can
also access full screen mode), then you would set
<param name="enableContextMenu" value="false">
Note that the values of -1 and 0 may or may not work depending on
browser, in general it's better to use the values "true" or "false"
In addition, I noted that your HTML contains incorrect markup :
<param name="defaultFrame" value>
There should be a value="true" or value="false" here.
HTH
Cheers - Neil
On Fri, 5 May 2006 10:11:02 -0700, Franck_AFP
<FranckAFP@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Thank you Neil by advance.------------------------------------------------
2 asp files:
Mosaique.asp:
<%@ Language=VBScript %>
<html>
<head>
<meta http-equiv="Content-Language" content="fr">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Mosaique ALL</title>
<base target="FullScreen">
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"
marginwidth="0" marginheight="0" bgcolor="#000000" text="#FFFFFF">
<div align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0"
bgcolor="#000000" height="100%" id="table1">
<tr>
<%
PathSource2 =".\..\"
FullstrPathSource2 = (Server.MapPath(PathSource2)) & "\Liste_Chaine.xml"
set xmlsource2 = CreateObject("Microsoft.XMLDOM")
xmlsource2.async=false
xmlsource2.load(FullstrPathSource2)
For Each x in xmlsource2.documentElement.childNodes
Response.Write " <td>"
Response.Write " <iframe name='I1' src='Source.asp?NumSource=" & x.text
& "' marginwidth='1' marginheight='0' height='100%' width='100%'
scrolling='no' align='absmiddle' border='0' frameborder='0'>"
Response.Write " Votre navigateur ne prend pas en charge les cadres
insérés ou est actuellement configuré pour ne pas les afficher."
Response.Write " </iframe>"
Response.Write " </td>"
If Comp < 5 Then
Comp = Comp + 1
Else
Response.Write " </tr>"
Response.Write " <tr>"
Comp = 0
End if
Next
%>
</tr>
</table>
</div>
</body>
</html>
source.asp:
<%@ Language=VBScript %>
<html>
<head>
<meta http-equiv="Content-Language" content="fr">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Source</title>
<script language="JavaScript">
<!--
function FP_changeProp() {//v1.0
var args=arguments,d=document,i,j,id=args[0],o=FP_getObjectByID(id),s,ao,v,x;
d.$cpe=new Array(); if(o) for(i=2; i<args.length; i+=2) { v=args[i+1];
s="o";
ao=args[i].split("."); for(j=0; j<ao.length; j++) { s+="."+ao[j];
if(null==eval(s)) {
s=null; break; } } x=new Object; x.o=o; x.n=new Array(); x.v=new Array();
x.n[x.n.length]=s; eval("x.v[x.v.length]="+s); d.$cpe[d.$cpe.length]=x;
if(s) eval(s+"=v"); }
}
function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return
el; } }
return null;
}
//Mute Function
function mute_OFF()
{
Source.settings.volume = 100;
}
function mute_ON()
{
Source.settings.volume = 0;
}
// -->
</script>
</head>
<%
' On error resume next
Chaine=""
NumSource = Request.QueryString("NumSource")
Chaine = "http://spar-dvid-0A.afp.local/Annonces/" & NumSource & ".nsc"
%>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"
marginwidth="0" marginheight="0" text="#C0C0C0" bgcolor="#000000">
<OBJECT CLASSID="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" ID="Source"
width="99%" height="85%" align="middle" style="border: 0px solid #C0C0C0;
padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"
onmouseover="FP_changeProp(/*id*/'Source',0,'style.border','1px solid
#FF0000','style.paddingLeft','4px','style.paddingRight','4px','style.paddingTop','1px','style.paddingBottom','1px','MUTE','0');mute_OFF()"
onmouseout="FP_changeProp(/*id*/'Source',0,'style.border','1px solid
#000000','style.paddingLeft','4px','style.paddingRight','4px','style.paddingTop','1px','style.paddingBottom','1px','MUTE','-1');mute_ON()">
<PARAM NAME="URL" VALUE="<%=Chaine%>">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="defaultFrame" value>
<param name="playCount" value="1">
<param name="autoStart" value="-1">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="0">
<param name="baseURL" value>
<param name="volume" value="0">
<PARAM name="MUTE" value="-1">
<param name="uiMode" value="none">
<param name="stretchToFit" value="-1">
<param name="windowlessVideo" value="0">
<param name="enabled" value="-1">
<param name="enableContextMenu" value="-1">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value>
<param name="enableErrorDialogs" value="0">
</OBJECT>
</b>
<p align="center"><font size="4"><%=NumSource%></font></p>
</body>
"Neil Smith [MVP Digital Media]" wrote:
On Thu, 4 May 2006 07:47:02 -0700, Franck_AFP
<FranckAFP@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hello,
I have a diffusion of 16 video channels multicast on my network.
I created a mosaic to read the 16 channels at the same time by using frames.
The problem is that as I double click on a video, I have the full screen
then when I double click on another video, I have the full screen first.
Somebody can it help me.
Yes, please post your HTML and I'll think of a solution.
Cheers - Neil
Digital Media MVP : 2004-2006
http://mvp.support.microsoft.com/mvpfaqs
- Follow-Ups:
- Re: Full Screen problem on Mosaic
- From: Neil Smith [MVP Digital Media]
- Re: Full Screen problem on Mosaic
- References:
- Re: Full Screen problem on Mosaic
- From: Neil Smith [MVP Digital Media]
- Re: Full Screen problem on Mosaic
- From: Franck_AFP
- Re: Full Screen problem on Mosaic
- From: Neil Smith [MVP Digital Media]
- Re: Full Screen problem on Mosaic
- From: Franck_AFP
- Re: Full Screen problem on Mosaic
- Prev by Date: Re: mpg doesn't play in IE - windows media player at first load
- Next by Date: Re: Show first frame of movie
- Previous by thread: Re: Full Screen problem on Mosaic
- Next by thread: Re: Full Screen problem on Mosaic
- Index(es):
Relevant Pages
|