Changeset 1265
- Timestamp:
- 03/12/08 19:53:41 (4 years ago)
- Location:
- trunk/model/sources/academic/gen
- Files:
-
- 5 edited
-
_web/transf/Re/vidInd/vidInd@xml/bs.doss/op_vidInd_Axml/VideoIndexee.swf (modified) (previous)
-
_web/transf/Re/vidInd/vidInd@xml/bs.doss/op_vidInd_Axml/content.xsl (modified) (3 diffs)
-
video/cdrom.generator (modified) (1 diff)
-
video/playerWeb.generator (modified) (1 diff)
-
video/uiTemplate/player.uitemplate (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/model/sources/academic/gen/_web/transf/Re/vidInd/vidInd@xml/bs.doss/op_vidInd_Axml/content.xsl
r1252 r1265 92 92 <p><b>Navigation</b></p> 93 93 <p>Le plan de gauche vous permet d'accéder à des séquences de la vidéo. La séquence en cours de lecture est placée sur un fond coloré.</p> 94 <p><b>B outons de controle</b></p>94 <p><b>Barre de contrôle</b></p> 95 95 <p/> 96 96 <p>- Affichage / Suppression du plan;</p> … … 103 103 <p>- Description de la vidéo;</p> 104 104 <p>- Bouton d'aide;</p> 105 <p>- Affichage ou non de la barre de contrôle;</p> 105 106 </text> 106 107 </help> … … 128 129 - le player flash oblige que le FLV soit dans une arborescence frere ou fille du SWF 129 130 --> 130 <xsl:variable name="vPath" select="si(sp:loc, substring(getUrl(gotoSubModel(sp:loc), 'url'), 8, string-length(getUrl(gotoSubModel(sp:loc), 'url'))))"/>131 132 131 <xsl:variable name="vBegin" select="//sp:seg[1]/op:vidSeg/op:vidSegM/sp:tStart"/> 133 132 <xsl:variable name="vEnd" select="//sp:seg[count(following::sp:seg) = 0]/op:vidSeg/op:vidSegM/sp:tEnd"/> 133 <xsl:variable name="vMode" select="si(not(../sp:desc/sp:menu) or ../sp:desc/sp:menu/text()='zone', 'normal', 'overlay')"/> 134 <xsl:variable name="vInsertWidth" select="si(../sp:desc/sp:menu/text()='overlayBox', '300', '0')"/> 135 <xsl:variable name="vInsertHeight" select="si(../sp:desc/sp:menu/text()='overlayBox', '300', '0')"/> 136 137 <xsl:variable name="vIsLocal"> 138 <xsl:choose> 139 <!-- contexte : flv locale --> 140 <xsl:when test="contains(resultatAgent('/@@/contentRoot'), '_ArootFlv')"> 141 <xsl:text>true</xsl:text> 142 </xsl:when> 143 <!-- contexte : flv stream --> 144 <xsl:when test="contains(resultatAgent('/@@/contentRoot'), '_ArootStream')"> 145 <xsl:text>false</xsl:text> 146 </xsl:when> 147 <!-- pas de contexte : priorité au stream --> 148 <xsl:when test="sp:stream"> 149 <xsl:text>false</xsl:text> 150 </xsl:when> 151 <xsl:otherwise><!-- flv locale --> 152 <xsl:text>true</xsl:text> 153 </xsl:otherwise> 154 </xsl:choose> 155 </xsl:variable> 156 134 157 <xsl:choose> 135 <!-- contexte : flv locale --> 136 <xsl:when test="contains(resultatAgent('/@@/contentRoot'), '_ArootFlv')"> 137 <video src="{$vPath}" clipBegin="{$vBegin}" clipEnd="{$vEnd}"/> 158 <xsl:when test="$vIsLocal='true'"><!-- Local --> 159 <xsl:variable name="vPath" select="si(sp:loc, substring(getUrl(gotoSubModel(sp:loc), 'url'), 8, string-length(getUrl(gotoSubModel(sp:loc), 'url'))))"/> 160 <video src="{$vPath}" clipBegin="{$vBegin}" clipEnd="{$vEnd}" menuMode="{$vMode}"> 161 <xsl:if test="$vInsertWidth!='0'"><xsl:attribute name="insertWidth"><xsl:value-of select="$vInsertWidth"/></xsl:attribute></xsl:if> 162 <xsl:if test="$vInsertHeight!='0'"><xsl:attribute name="insertHeight"><xsl:value-of select="$vInsertHeight"/></xsl:attribute></xsl:if> 163 </video> 138 164 </xsl:when> 139 <!-- contexte : flv stream --> 140 <xsl:when test="contains(resultatAgent('/@@/contentRoot'), '_ArootStream')"> 141 <video src="{normalize-space(sp:stream)}" clipBegin="{$vBegin}" clipEnd="{$vEnd}"/> 142 </xsl:when> 143 <!-- pas de contexte : priorité au stream --> 144 <xsl:when test="sp:stream"> 145 <video src="{normalize-space(sp:stream)}" clipBegin="{$vBegin}" clipEnd="{$vEnd}"/> 146 </xsl:when> 147 <xsl:otherwise><!-- flv locale --> 148 <video src="{$vPath}" clipBegin="{$vBegin}" clipEnd="{$vEnd}"/> 165 <xsl:otherwise><!-- Stream --> 166 <video src="{normalize-space(sp:stream)}" clipBegin="{$vBegin}" clipEnd="{$vEnd}" menuMode="{$vMode}"> 167 <xsl:if test="$vInsertWidth!='0'"><xsl:attribute name="insertWidth"><xsl:value-of select="$vInsertWidth"/></xsl:attribute></xsl:if> 168 <xsl:if test="$vInsertHeight!='0'"><xsl:attribute name="insertHeight"><xsl:value-of select="$vInsertHeight"/></xsl:attribute></xsl:if> 169 </video> 149 170 </xsl:otherwise> 150 171 </xsl:choose> 172 151 173 </xsl:template> 152 174 -
trunk/model/sources/academic/gen/video/cdrom.generator
r1251 r1265 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <sm:webSiteGenerator xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="pl ayercdrom" name="Player Vidéo - CD-ROM">2 <sm:webSiteGenerator xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="plVidCdrom" name="Player Vidéo - CD-ROM"> 3 3 <sm:modelRoot> 4 4 <sm:allowedModel sc:refUri="/academic/model/Re/vidInd/vidInd.model"/> -
trunk/model/sources/academic/gen/video/playerWeb.generator
r1251 r1265 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <sm:webSiteGenerator xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="pl ayerWeb" name="Player Vidéo - Web (streaming)">2 <sm:webSiteGenerator xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="plVidWeb" name="Player Vidéo - Web (streaming)"> 3 3 <sm:modelRoot> 4 4 <sm:allowedModel sc:refUri="/academic/model/Re/vidInd/vidInd.model"/> -
trunk/model/sources/academic/gen/video/uiTemplate/player.uitemplate
r1246 r1265 67 67 // embed the Flash Content SWF when all tests are passed 68 68 AC_FL_RunContent( 69 "src", "../res/VideoIndexee?indexXml="+vIndexUrl, 69 "src", "../res/VideoIndexee", 70 "flashvars", "indexXml="+vIndexUrl, 70 71 "width", "100%", 71 72 "height", "100%", … … 89 90 <noscript> 90 91 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="VideoIndexee" width="100%" height="100%" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"> 91 <param name="movie" value="../res/VideoIndexee.swf?indexXml=src/ressources/xml/videoIndex.xml"/> 92 <param name="movie" value="../res/VideoIndexee.swf"/> 93 <param name="FlashVars" value="indexXml=src/ressources/xml/videoIndex.xml"/> 92 94 <param name="quality" value="high"/> 93 95 <param name="bgcolor" value="#869ca7"/> 94 96 <param name="allowScriptAccess" value="sameDomain"/> 95 97 <param name="allowFullScreen" value="true"/> 96 <embed src="../res/VideoIndexee.swf ?indexXml=src/ressources/xml/videoIndex.xml" quality="high" bgcolor="#869ca7" width="100%" height="100%" name="VideoIndexee" align="middle" play="true" loop="false" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer">98 <embed src="../res/VideoIndexee.swf" flashvars="indexXml=src/ressources/xml/videoIndex.xml" quality="high" bgcolor="#869ca7" width="100%" height="100%" name="VideoIndexee" align="middle" play="true" loop="false" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"> 97 99 </embed> 98 100 </object>
Note: See TracChangeset
for help on using the changeset viewer.