running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
| <svg class="loader" width="60" height="60" xmlns="http://www.w3.org/2000/svg"> | |
| <g> | |
| <ellipse ry="25" rx="25" cy="30" cx="30" stroke-width="5" stroke="#000" fill="none"/> | |
| </g> | |
| </svg> |
| /** | |
| * Convert From/To Binary/Decimal/Hexadecimal in JavaScript | |
| * https://gist.github.com/faisalman | |
| * | |
| * Copyright 2012-2015, Faisalman <[email protected]> | |
| * Licensed under The MIT License | |
| * http://www.opensource.org/licenses/mit-license | |
| */ | |
| (function(){ |
| function getScrollBarWidth() { | |
| var inner = document.createElement('p'); | |
| inner.style.width = "100%"; | |
| inner.style.height = "200px"; | |
| var outer = document.createElement('div'); | |
| outer.style.position = "absolute"; | |
| outer.style.top = "0px"; | |
| outer.style.left = "0px"; | |
| outer.style.visibility = "hidden"; |