Browse Source

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.
pull/80/head
David LaPalomento 12 years ago
parent
commit
c7ea123a08
  1. 5
      example.html

5
example.html

@ -42,6 +42,7 @@
class="video-js vjs-default-skin" class="video-js vjs-default-skin"
height="300" height="300"
width="600" width="600"
src="http://solutions.brightcove.com/jwhisenant/hls/apple/bipbop/bipbopall.m3u8"
controls> controls>
</video> </video>
<script> <script>
@ -49,8 +50,8 @@
// initialize the player // initialize the player
var player = videojs('video'); var player = videojs('video');
// load the master playlist
player.hls('test/fixtures/prog_index.m3u8');
// initialize the plugin
player.hls();
</script> </script>
</body> </body>
</html> </html>
Loading…
Cancel
Save