Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_videoplayer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authortobilap <t@itfaber.com>2017-05-20 19:07:47 +0300
committerGitHub <noreply@github.com>2017-05-20 19:07:47 +0300
commit37c2866e319e0e8ff1b2f70da3a1d8c7cd21697b (patch)
tree02eb403ef6572937dbe0f62710f3e7cb289f9c97 /js
parentedba6e1dab7244b1eb235d44db533ebe2774753e (diff)
Update viewer.js
Fixing the Loading of video JS , I'm not a pro in JS but it works :)
Diffstat (limited to 'js')
-rwxr-xr-xjs/viewer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/viewer.js b/js/viewer.js
index 29d51c4..52d4a6b 100755
--- a/js/viewer.js
+++ b/js/viewer.js
@@ -8,7 +8,7 @@ var videoViewer = {
var stylePath = OC.filePath('files_videoplayer', 'videojs', 'src/video-js.css');
$('head').append($('<link rel="stylesheet" type="text/css" href="' + stylePath + '"/>'));
var scriptPath = OC.filePath('files_videoplayer', 'videojs', 'src/video.js');
- return $.getScript(scriptPath)
+ return $.getScript(scriptPath, function (xhr) {eval(xhr);});
}
},
videoJSLoaded: false,