diff options
author | Siri Reiter <siri@jones.dk> | 2014-09-01 00:40:57 +0200 |
---|---|---|
committer | Siri Reiter <siri@jones.dk> | 2014-09-01 00:40:57 +0200 |
commit | 1f276ecf0abbd7f6fe34697ca64b278302b8d012 (patch) | |
tree | f57f99ae68218b1e8e097697277816a369d30a35 | |
parent | a81add644c7659dc68fc333e413b6a7b12277561 (diff) |
Fix preload video when flash-loaded.
-rw-r--r-- | templates/video.mdwn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn index b31087db..be91f1ac 100644 --- a/templates/video.mdwn +++ b/templates/video.mdwn @@ -6,7 +6,7 @@ </TMPL_UNLESS><TMPL_UNLESS nowebm><source src="//media.bynu.biks.dk/<TMPL_VAR stem>.webm" type="video/webm" /> </TMPL_UNLESS><object width="<TMPL_VAR width>" height="<TMPL_VAR height>" type="application/x-shockwave-flash" data="http://vjs.zencdn.net/4.7/video-js.swf"> <param name="movie" value="http://vjs.zencdn.net/4.7/video-js.swf" /> -<param name="flashvars" value="src=//media.bynu.biks.dk/<TMPL_VAR stem>.mp4" /> +<param name="flashvars" value="src=//media.bynu.biks.dk/<TMPL_VAR stem>.mp4&preload=true" /> <img src="//media.bynu.biks.dk/<TMPL_VAR stem>.jpg" width="<TMPL_VAR width>" height="<TMPL_VAR height>" alt="<TMPL_VAR title>" title="Ingen videounderstøttelse, hent videoen i stedet." /> </object> |