--- a/src/js/init.js Tue Jan 31 16:54:08 2012 +0100
+++ b/src/js/init.js Tue Jan 31 17:22:10 2012 +0100
@@ -106,10 +106,9 @@
opts.autostart = false;
templ = "width: {{width}}px; height: {{height}}px;";
var str = Mustache.to_html(templ, {width: opts.width, height: opts.height});
- // Popcorn.youtube wants us to specify the size of the player in the style attribute of its container div.
- IriSP.jQuery("#" + containerDiv).attr("style", str);
- pop = Popcorn.youtube("#" + containerDiv, opts.video, opts);
+ //pop = Popcorn.youtube("#" + containerDiv, opts.video, opts);
+ pop = new IriSP.PopcornReplacement.youtube(containerDiv, opts);
break;
case "allocine":