Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
[VideoPlayerBundle] fixes video loading (#5514)
Browse files Browse the repository at this point in the history
* [VideoPlayerBundle] fixes video loading

* [VideoPlayerBundle] drops flash support

* upgrades video.js lib
  • Loading branch information
Elorfin authored and LaurentGruber committed Feb 15, 2019
1 parent 0d2a1a8 commit 7214f43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -47,7 +47,7 @@
"typeahead.js": "0.11.1",
"typeahead.js-bootstrap-css": "git://github.com/bassjobsen/typeahead.js-bootstrap-css.git#1.2.1",
"uuid": "^3.3.2",
"video.js": "5.20.5",
"video.js": "^7.4.1",
"wavesurfer.js": "1.1.8",
"whatwg-fetch": "^2.0.1"
},
Expand Down
10 changes: 0 additions & 10 deletions plugin/video-player/Resources/views/scripts.html.twig
@@ -1,13 +1,3 @@
<script src="{{ asset('packages/video.js/dist/video.min.js') }}"></script>
<script>
videojs.options.flash.swf = "{{ asset('packages/video.js/dist/video-js.swf') }}"
</script>
<script src="{{ hotAsset('dist/claroline-distribution-plugin-video-player-watcher')}}"></script>
<link href="{{ asset('packages/video.js/dist/video-js.min.css') }}" rel="stylesheet" />
<style type="text/css">
/* Avoid having the default player to appear and blink while video js is loading */
.vjs-waiting {
display: none;
background: transparent;
}
</style>

0 comments on commit 7214f43

Please sign in to comment.