45bfb9fc by Tom Johnson

Merge pull request #33 from videojs/hotfix/peer-deps

Try using peerDependencies for video.js
2 parents 8fbb05f0 d9b8b6cc
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
61 type="application/x-mpegURL"> 61 type="application/x-mpegURL">
62 </video> 62 </video>
63 <script> 63 <script>
64 videojs.options.flash.swf = 'node_modules/videojs-swf/dist/video-js.swf'; 64 videojs.options.flash.swf = 'node_modules/video.js/dist/video-js/video-js.swf';
65 // initialize the player 65 // initialize the player
66 var player = videojs('video'); 66 var player = videojs('video');
67 67
......
...@@ -23,11 +23,13 @@ ...@@ -23,11 +23,13 @@
23 "grunt-concurrent": "0.4.3", 23 "grunt-concurrent": "0.4.3",
24 "grunt-open": "0.2.3", 24 "grunt-open": "0.2.3",
25 "grunt-shell": "0.6.1", 25 "grunt-shell": "0.6.1",
26 "grunt": "~0.4.1" 26 "grunt": "~0.4.1",
27 "video.js": "~4.4"
28 },
29 "peerDependencies": {
30 "video.js": "~4.4"
27 }, 31 },
28 "dependencies": { 32 "dependencies": {
29 "video.js": "git+https://github.com/videojs/video.js.git#v4.4.1",
30 "videojs-swf": "git+https://github.com/videojs/video-js-swf.git#v4.4.0",
31 "videojs-contrib-media-sources": "git+https://github.com/videojs/videojs-contrib-media-sources.git" 33 "videojs-contrib-media-sources": "git+https://github.com/videojs/videojs-contrib-media-sources.git"
32 } 34 }
33 } 35 }
......