Use bipbop with CORS on the example page
Bipbop is great for testing because it displays so much information about the current state of the video. Use a standard "src" attribute to initialize the plugin in the example.
Showing
1 changed file
with
3 additions
and
2 deletions
... | @@ -42,6 +42,7 @@ | ... | @@ -42,6 +42,7 @@ |
42 | class="video-js vjs-default-skin" | 42 | class="video-js vjs-default-skin" |
43 | height="300" | 43 | height="300" |
44 | width="600" | 44 | width="600" |
45 | src="http://solutions.brightcove.com/jwhisenant/hls/apple/bipbop/bipbopall.m3u8" | ||
45 | controls> | 46 | controls> |
46 | </video> | 47 | </video> |
47 | <script> | 48 | <script> |
... | @@ -49,8 +50,8 @@ | ... | @@ -49,8 +50,8 @@ |
49 | // initialize the player | 50 | // initialize the player |
50 | var player = videojs('video'); | 51 | var player = videojs('video'); |
51 | 52 | ||
52 | // load the master playlist | 53 | // initialize the plugin |
53 | player.hls('test/fixtures/prog_index.m3u8'); | 54 | player.hls(); |
54 | </script> | 55 | </script> |
55 | </body> | 56 | </body> |
56 | </html> | 57 | </html> | ... | ... |
-
Please register or sign in to post a comment