diff options
-rw-r--r-- | live.mdwn | 2 | ||||
-rw-r--r-- | livetest.mdwn | 2 | ||||
-rw-r--r-- | templates/video.mdwn | 6 |
3 files changed, 5 insertions, 5 deletions
@@ -2,7 +2,7 @@ [[!meta script="/usr/share/javascript/bootstrap/js/bootstrap.min.js"]] [[!template id=video - name="live-video" + live-app="live-video" title="FREE Live Webinar" start="1494946800000" stem=omni/show0 diff --git a/livetest.mdwn b/livetest.mdwn index 10047df..f8528d4 100644 --- a/livetest.mdwn +++ b/livetest.mdwn @@ -2,7 +2,7 @@ [[!meta script="/usr/share/javascript/bootstrap/js/bootstrap.min.js"]] [[!template id=video - name="live-video-test" + live-app="live-video-test" title="FREE Live Webinar" start="1494835200000" stem=omni/live/latest 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> |