# HG changeset patch # User hamidouk # Date 1327422585 -3600 # Node ID a773f117d2e7c0c7afff5edc381f6c34d0904701 # Parent c6933b86acbae4859165bdd78215cb7464226d15 adapted init to use the new api. diff -r c6933b86acba -r a773f117d2e7 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":