src/js/init.js
branchembed-playerapi-rewrite
changeset 705 83197a7a4281
parent 701 a773f117d2e7
child 707 1ebfd2a7366b
--- a/src/js/init.js	Tue Jan 24 17:30:24 2012 +0100
+++ b/src/js/init.js	Wed Jan 25 12:52:45 2012 +0100
@@ -112,6 +112,11 @@
           pop = Popcorn.youtube("#" + containerDiv, opts.video, opts);
         break;
         
+      case "allocine":
+          /* pass the options as-is to the allocine player and let it handle everything */
+          pop = new PopcornReplacement.allocine("#" + containerDiv, options);
+          break;
+          
       default:
         pop = undefined;
     };