Skip to content

Instantly share code, notes, and snippets.

@tommyh
Last active August 29, 2015 14:26
Show Gist options
  • Save tommyh/7cb64812be249660e8bd to your computer and use it in GitHub Desktop.
Save tommyh/7cb64812be249660e8bd to your computer and use it in GitHub Desktop.
flashls: hsl_startfromlevel=0 confusion
<!DOCTYPE html>
<html>
<head>
<title>Video.js | HTML5 Video Player</title>
<link href="http://www.flashls.org/videojs/video-js.css" rel="stylesheet" type="text/css">
<script src="http://www.flashls.org/videojs/video.js"></script>
<script>
videojs.options.flash.swf = "http://tout-development.site.s3.amazonaws.com/tomhallettest/video-js-mangui-dist.swf";
videojs.options.flash.flashVars = { hls_startfromlevel: 0 };
</script>
</head>
<body>
<h3>flashls video-js.swf: 0.4.1.1</h3>
<h3>hls_startfromlevel: 0</h3>
<video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="640" height="264"
poster="http://video-js.zencoder.com/oceans-clip.png"
data-setup='{"techOrder": ["flash"]}'>
<source src="http://tout-inf.jadtest.s3.amazonaws.com/zencoder-hls/272deb0e2c488b98.hls/272deb0e2c488b98.m3u8" type='video/mp4' />
</video>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Video.js | HTML5 Video Player</title>
<link href="http://www.flashls.org/videojs/video-js.css" rel="stylesheet" type="text/css">
<script src="http://www.flashls.org/videojs/video.js"></script>
<script>
videojs.options.flash.swf = "http://tout-development.site.s3.amazonaws.com/tomhallettest/video-js-mangui-dist.swf";
videojs.options.flash.flashVars = { hls_startfromlevel: 1 };
</script>
</head>
<body>
<h3>flashls video-js.swf: 0.4.1.1</h3>
<h3>hls_startfromlevel: 1</h3>
<video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="640" height="264"
poster="http://video-js.zencoder.com/oceans-clip.png"
data-setup='{"techOrder": ["flash"]}'>
<source src="http://tout-inf.jadtest.s3.amazonaws.com/zencoder-hls/272deb0e2c488b98.hls/272deb0e2c488b98.m3u8" type='video/mp4' />
</video>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment