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
diff options
context:
space:
mode:
authortobilap <t@itfaber.com>2017-05-20 19:07:47 +0300
committerLukas Reschke <lukas@statuscode.ch>2017-05-26 07:34:38 +0300
commit91fab5f89bf5cf6d018638758b80e9fc88a71b45 (patch)
tree02eb403ef6572937dbe0f62710f3e7cb289f9c97
parentedba6e1dab7244b1eb235d44db533ebe2774753e (diff)
Fixing the Loading of video JS , I'm not a pro in JS but it works :)
-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,