Changeset 1265 for trunk/model/sources/academic/gen/_web/transf/Re/vidInd/vidInd@xml/bs.doss/op_vidInd_Axml/content.xsl
- Timestamp:
- 03/12/08 19:53:41 (4 years ago)
- File:
-
- 1 edited
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
Note: See TracChangeset
for help on using the changeset viewer.