src/js/init.js
branchpopcorn-port
changeset 785 980163a156d1
parent 767 645d06da3d5b
child 795 8b69c3dbbc18
equal deleted inserted replaced
784:2ce658b19b96 785:980163a156d1
   115           // Popcorn.youtube wants us to specify the size of the player in the style attribute of its container div.
   115           // Popcorn.youtube wants us to specify the size of the player in the style attribute of its container div.
   116           IriSP.jQuery("#" + containerDiv).attr("style", str);
   116           IriSP.jQuery("#" + containerDiv).attr("style", str);
   117           
   117           
   118           pop = Popcorn.youtube("#" + containerDiv, opts.video, opts);
   118           pop = Popcorn.youtube("#" + containerDiv, opts.video, opts);
   119         break;
   119         break;
   120         
   120       
       
   121     case "dailymotion":
       
   122         pop = new IriSP.PopcornReplacement.dailymotion("#" + containerDiv, options);
       
   123         break;
       
   124              
   121       case "allocine":
   125       case "allocine":
   122           /* pass the options as-is to the allocine player and let it handle everything */
   126           /* pass the options as-is to the allocine player and let it handle everything */
   123           pop = new IriSP.PopcornReplacement.allocine("#" + containerDiv, options);
   127           pop = new IriSP.PopcornReplacement.allocine("#" + containerDiv, options);
   124           break;
   128           break;
   125           
   129