Created
December 30, 2016 17:59
-
-
Save adylevy/43a89f63cad2e725dcf1370d07707e80 to your computer and use it in GitHub Desktop.
xdomain360.html file to be placed at /_aol/ folder publicly accessed by the domain of which a 360 file is served from (mp4 or m3u8) no need to place at ts domain for HLS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<script type="text/javascript"></script> | |
</head> | |
<body> | |
<video preload="auto"></video> | |
<canvas></canvas> | |
<script> | |
(function () { | |
var s = document.getElementsByTagName('script')[0]; | |
var e = (location.search.match(/\be=([^&$]+)\b/) || [])[1]; | |
var v = (location.search.match(/\bv=([^&$]+)\b/) || [])[1]; | |
s.src = 'https://cdn-ssl.vidible.tv/'+e+'/player/js/'+v+'/xdomain360.js'; | |
})(); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment