Browse Source

Use videojs-swf 4.6.0

Temporarily use a newer version of videojs-swf then is included in the mainline video.js release.
pull/6/head
David LaPalomento 10 years ago
parent
commit
4222a1f800
  1. 2
      example.html
  2. 3
      package.json

2
example.html

@ -70,7 +70,7 @@
type="application/x-mpegURL">
</video>
<script>
videojs.options.flash.swf = 'node_modules/video.js/dist/video-js/video-js.swf';
videojs.options.flash.swf = 'node_modules/videojs-swf/dist/video-js.swf';
// initialize the player
var player = videojs('video');
</script>

3
package.json

@ -43,6 +43,7 @@
},
"dependencies": {
"pkcs7": "^0.2.2",
"videojs-contrib-media-sources": "^0.3.0"
"videojs-contrib-media-sources": "^0.3.0",
"videojs-swf": "^4.6.0"
}
}
Loading…
Cancel
Save