Re: Full Screen problem on Mosaic
- From: Franck_AFP <FranckAFP@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 5 May 2006 10:11:02 -0700
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
- 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
- Prev by Date: Problem Opening URL(FM) in windows media player after connecting to a VPN connection.
- Next by Date: Re: Full Screen problem on Mosaic
- Previous by thread: Re: Full Screen problem on Mosaic
- Next by thread: Re: Full Screen problem on Mosaic
- Index(es):
Relevant Pages
|