diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-02-11 20:31:08 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-02-11 22:58:48 +0300 |
commit | 73dff418b43786a150427d143a9600f6d7fd39e9 (patch) | |
tree | ca51b6bc094cb863462cb2625195b481799fe3bf /js/viewer.js | |
parent | dd5eaad26899551d325203546fd9574ac6f818d7 (diff) |
Get rid of Flash fallback
No way we're getting this into the release ;)
Diffstat (limited to 'js/viewer.js')
-rwxr-xr-x | js/viewer.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/viewer.js b/js/viewer.js index 2594a6a..258ddce 100755 --- a/js/viewer.js +++ b/js/viewer.js @@ -1,8 +1,7 @@ var videoViewer = { UI : { - playerTemplate : '<header><link href="'+OC.filePath('files_videoplayer', 'videojs', 'src')+'/video-js.css" rel="stylesheet"><script src="'+OC.filePath('files_videoplayer', 'videojs', 'src')+'/video.js"></script>' + '<script>' + - '_V_.options.flash.swf = "'+OC.filePath('files_videoplayer', 'videojs', 'src')+'/video-js.swf"' + - '</script>' + '</header><video id="my_video_1" class="video-js vjs-sublime-skin" controls preload="auto" width="100%" height="100%" poster="'+OC.filePath('files_videoplayer', '', 'img')+'/poster.png" data-setup="{}">' + + playerTemplate : '<header><link href="'+OC.filePath('files_videoplayer', 'videojs', 'src')+'/video-js.css" rel="stylesheet"><script src="'+OC.filePath('files_videoplayer', 'videojs', 'src')+'/video.js"></script>' + + '</header><video id="my_video_1" class="video-js vjs-sublime-skin" controls preload="auto" width="100%" height="100%" poster="'+OC.filePath('files_videoplayer', '', 'img')+'/poster.png" data-setup="{"techOrder": ["html5"]}">' + '<source type="%type%" src="%src%" />' + '</video>', show : function () { |