diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/video.mdwn | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn index 6eef60f..4db2676 100644 --- a/templates/video.mdwn +++ b/templates/video.mdwn @@ -5,16 +5,16 @@ <script type="text/javascript" src="/js/app/counter.js"></script> </TMPL_IF> <div class="embed-responsive embed-responsive-16by9"> -<video <TMPL_IF name>id="<TMPL_VAR name>"</TMPL_IF> class="embed-responsive-item" playsinline poster="//media.couchdesign.dk/<TMPL_VAR stem>.jpg" controls> +<video <TMPL_IF live-app>id="<TMPL_VAR live-app>"</TMPL_IF> class="embed-responsive-item" playsinline poster="//media.couchdesign.dk/<TMPL_VAR stem>.jpg" controls> <TMPL_UNLESS start> <TMPL_UNLESS nomp4><source src="//media.couchdesign.dk/<TMPL_VAR stem>.webm" type="video/webm" /> </TMPL_UNLESS><TMPL_UNLESS nowebm><source src="//media.couchdesign.dk/<TMPL_VAR stem>.mp4" type="video/mp4" /> </TMPL_UNLESS></TMPL_UNLESS><img src="//media.couchdesign.dk/<TMPL_VAR stem>.jpg" width="<TMPL_VAR width>" height="<TMPL_VAR height>" title="Sorry, the video formats provided are not supported by your browser." /> </video> -<TMPL_IF start> +<TMPL_IF live-app> [[!meta script="/js/lib/adapterjs.min.js"]] [[!meta script="/js/lib/janus.nojquery.js"]] -<script type="text/javascript" src="/js/app/live-video.js"></script> +<script type="text/javascript" src="/js/app/<TMPL_VAR live-app>.js"></script> </TMPL_IF></div> </div> |