diff options
author | tobilap <t@itfaber.com> | 2017-05-20 19:07:47 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-05-26 07:34:38 +0300 |
commit | 91fab5f89bf5cf6d018638758b80e9fc88a71b45 (patch) | |
tree | 02eb403ef6572937dbe0f62710f3e7cb289f9c97 | |
parent | edba6e1dab7244b1eb235d44db533ebe2774753e (diff) |
Update viewer.jsv12.0.1RC5v12.0.1RC4v12.0.1RC3v12.0.1RC2v12.0.1RC1v12.0.1
Fixing the Loading of video JS , I'm not a pro in JS but it works :)
-rwxr-xr-x | js/viewer.js | 2 |
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, |