diff options
Diffstat (limited to 'contrib/site/index.html')
-rw-r--r-- | contrib/site/index.html | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/contrib/site/index.html b/contrib/site/index.html index 9a7f749..ca4cbc6 100644 --- a/contrib/site/index.html +++ b/contrib/site/index.html @@ -12,7 +12,7 @@ <meta property="og:image:type" content="image/jpg"> <meta property="og:type" content="article"> </head> -<body background="images/background.jpg"> +<body> <h1>Elevate Festival 2018 - Live Stream</h1> <div class="center"> <table id="header"> @@ -77,10 +77,7 @@ <td><a href="https://dorftv.at"><img src="images/sponsors/dorfTV.png" /></a></td> <td><a href="http://helsinki.at"><img src="images/sponsors/helsinki.png" /></a></td> <td> </td> - <td><a href="http://www.livesolution.at/"><img src="images/sponsors/livesolution.png" /></a></td> <td><a href="http://citycom-austria.com"><img src="images/sponsors/citycom.png" /></a></td> - <td> </td> - <td><a href="http://culturesofresistance.org"><img src="images/sponsors/CoR.png" /></a></td> </tr> </table> </div> @@ -89,7 +86,7 @@ <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="js/flowplayer/flowplayer-3.2.6.min.js"></script> <script type="text/javascript" src="js/parseLocationHref.js"></script> - <script type="text/javascript" src="js/config2.js"></script> + <script type="text/javascript" src="js/config.js"></script> <script> var Model = function(config, uri) { this.config = config; @@ -168,16 +165,17 @@ }; Model.prototype.getStreamUrl = function (thing) { + var nocache = Date.now(); switch(thing) { case 'webm': return this.config.streamBaseUrl + '/' + this.parameters.src + '-webm-' + - this.parameters.profile + '.webm'; + this.parameters.profile + '.webm?nocache=' + nocache; case 'hls': return this.config.streamBaseUrl + '/hls/' + this.parameters.src + '-' + - this.parameters.profile + '/index.m3u8'; + this.parameters.profile + '/index.m3u8?nocache=' + nocache; case 'flash': return this.config.streamBaseUrl + '/' + this.parameters.src + '-flash-' + - this.parameters.profile + '.flv'; + this.parameters.profile + '.flv?nocache=' + nocache; } }; |