diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-05-15 09:13:09 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-05-15 09:13:09 +0200 |
commit | c11bd74cb2b9969ffdbcea9bdd31833d32a7ebef (patch) | |
tree | fb00cc1e3bb70ef5308eb2f2d654cc80c469d824 /templates | |
parent | 001fc393d91b3a49b8218c7e638f5109241d6c7b (diff) |
Rename video template argument name → live-app. Fix use app name as element id.
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> |