source: main/trunk/model-interfaces-dev/alt-atea/transform/pages/document.xsl@ 34014

Last change on this file since 34014 was 34014, checked in by davidb, 4 years ago

Added in vidoe player template; remove PJ templates

File size: 1.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns:java="http://xml.apache.org/xslt/java"
5 xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
6 xmlns:gslib="http://www.greenstone.org/skinning"
7 xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
8 extension-element-prefixes="java util"
9 exclude-result-prefixes="java util gsf">
10
11
12 <!-- set page title to be collection name instead of document name -->
13 <xsl:template name="pageTitle"><gslib:collectionName/></xsl:template>
14
15 <!-- ATEA MOD -->
16 <xsl:template name="documentVideoPlayer">
17 <div style="padding: 20px;">
18 <video controls="controls" style="width: 100%">
19 <source>
20 <xsl:attribute name="src">
21 <xsl:value-of select="$httpPath"/>/index/assoc/<gsf:metadata name="assocfilepath" pos="1"/>/<gsf:metadata name="srclink_file"/></xsl:attribute>
22 </source>
23 Your web browser does not support the this form of video.
24 </video>
25 </div>
26 </xsl:template>
27
28
29</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.