Changeset - 60dd711e18a2
[Not reviewed]
0 1 0
Brett Smith - 3 years ago 2019-02-04 08:49:49
brettcsmith@brettcsmith.org
livestream: Only autoplay the main stage.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/static_pages/livestream/index.html
Show inline comments
...
 
@@ -58,13 +58,13 @@
 
      });
 

	
 
      var player5 = new Clappr.Player({
 
      source: "https://stream.fosdem.org/k3201.m3u8",
 
      baseUrl: "/asset/clappr",
 
      parentId: "#player5",
 
      autoPlay: true,
 
      autoPlay: false,
 

	
 
      hlsjsConfig: {
 
      xhrSetup: function(xhr, url) {
 
      xhr.onerror = function() {
 
      player5.stop();
 
      setTimeout(function(){
...
 
@@ -82,13 +82,13 @@
 
      });
 

	
 
      var player2 = new Clappr.Player({
 
      source: "https://stream.fosdem.org/aw1120.m3u8",
 
      baseUrl: "/asset/clappr",
 
      parentId: "#player2",
 
      autoPlay: true,
 
      autoPlay: false,
 

	
 
      hlsjsConfig: {
 
      xhrSetup: function(xhr, url) {
 
      xhr.onerror = function() {
 
      player2.stop();
 
      setTimeout(function(){
0 comments (0 inline, 0 general)