src/js/init.js
branchembed-playerapi-rewrite
changeset 705 83197a7a4281
parent 701 a773f117d2e7
child 707 1ebfd2a7366b
equal deleted inserted replaced
704:235190848d7d 705:83197a7a4281
   110           IriSP.jQuery("#" + containerDiv).attr("style", str);
   110           IriSP.jQuery("#" + containerDiv).attr("style", str);
   111           
   111           
   112           pop = Popcorn.youtube("#" + containerDiv, opts.video, opts);
   112           pop = Popcorn.youtube("#" + containerDiv, opts.video, opts);
   113         break;
   113         break;
   114         
   114         
       
   115       case "allocine":
       
   116           /* pass the options as-is to the allocine player and let it handle everything */
       
   117           pop = new PopcornReplacement.allocine("#" + containerDiv, options);
       
   118           break;
       
   119           
   115       default:
   120       default:
   116         pop = undefined;
   121         pop = undefined;
   117     };
   122     };
   118     
   123     
   119     return pop;
   124     return pop;