diff options
author | Christian Pointner <equinox@spreadspace.org> | 2018-02-27 01:55:56 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2018-02-27 01:55:56 +0100 |
commit | 46e0fc1c7cf86e0450c98039aa3ae80a2760a349 (patch) | |
tree | ac183561c9ce8003794c1b8e346588f6b57cce9d /contrib/site/index.html | |
parent | added config for stream site (diff) |
add nocache to stream urls, no more background
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; } }; |