adapted init to use the new api. embed-playerapi-rewrite
authorhamidouk
Tue, 24 Jan 2012 17:29:45 +0100
branchembed-playerapi-rewrite
changeset 701 a773f117d2e7
parent 700 c6933b86acba
child 702 f1225d38c150
adapted init to use the new api.
src/js/init.js
--- a/src/js/init.js	Tue Jan 24 17:29:18 2012 +0100
+++ b/src/js/init.js	Tue Jan 24 17:29:45 2012 +0100
@@ -96,7 +96,7 @@
             opts["controlbar.position"] = "none";
           }
 
-          pop = IriSP.PopcornReplacement.jwplayer("#" + containerDiv, opts);
+          pop = new IriSP.PopcornReplacement.jwplayer("#" + containerDiv, opts);
         break;
       
       case "youtube":