Use bipbop in example.html
Switch the example to use the locally committed HLS fixture to avoid CORS issues when trying it out. It will still be necessary to load the example page through a web server, though.
Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -52,7 +52,9 @@ | ... | @@ -52,7 +52,9 @@ |
52 | videojs.options.flash.swf = 'node_modules/videojs-media-sources/video-js-with-mse.swf'; | 52 | videojs.options.flash.swf = 'node_modules/videojs-media-sources/video-js-with-mse.swf'; |
53 | video = videojs('video',{},function(){ | 53 | video = videojs('video',{},function(){ |
54 | this.playbackController = new window.videojs.hls.HLSPlaybackController(this); | 54 | this.playbackController = new window.videojs.hls.HLSPlaybackController(this); |
55 | this.playbackController.loadManifest('http://localhost:7070/test/basic-playback/zencoder/gogo/manifest.m3u8',function(data){console.log(data)}); | 55 | this.playbackController.loadManifest('test/fixtures/bipbop.m3u8', function(data) { |
56 | console.log(data); | ||
57 | }); | ||
56 | }); | 58 | }); |
57 | </script> | 59 | </script> |
58 | 60 | ... | ... |
-
Please register or sign in to post a comment