<!doctype html> <html> <head> <meta charset="utf-8"> <title>videojs-http-source-selector Demo</title> <link href="node_modules/video.js/dist/video-js.css" rel="stylesheet"> <link href="dist/videojs-http-source-selector.css" rel="stylesheet"> </head> <body> <video id="videojs-http-source-selector-player" width="1280" height="720" class="video-js vjs-default-skin" controls> <source src="https://d3301nf2ffvsk4.cloudfront.net/feature/CID-113/66331/playlist.m3u8" type='application/x-mpegURL'> </video> <ul> <li><a href="test/">Run unit tests in browser.</a></li> <li><a href="docs/api/">Read generated docs.</a></li> </ul> <script src="node_modules/video.js/dist/video.js"></script> <script src="node_modules/videojs-contrib-quality-levels/dist/videojs-contrib-quality-levels.js"></script> <script src="dist/videojs-http-source-selector.js"></script> <script> (function(window, videojs) { var player = window.player = videojs('videojs-http-source-selector-player'); player.httpSourceSelector(); }(window, window.videojs)); </script> </body> </html>