src/js/init.js
branchpopcorn-port
changeset 785 980163a156d1
parent 767 645d06da3d5b
child 795 8b69c3dbbc18
--- a/src/js/init.js	Mon Feb 06 16:05:08 2012 +0100
+++ b/src/js/init.js	Tue Feb 07 14:41:05 2012 +0100
@@ -117,7 +117,11 @@
           
           pop = Popcorn.youtube("#" + containerDiv, opts.video, opts);
         break;
-        
+      
+    case "dailymotion":
+        pop = new IriSP.PopcornReplacement.dailymotion("#" + containerDiv, options);
+        break;
+             
       case "allocine":
           /* pass the options as-is to the allocine player and let it handle everything */
           pop = new IriSP.PopcornReplacement.allocine("#" + containerDiv, options);