src/js/init.js
branchpopcorn-port
changeset 557 e331072ce8fd
parent 539 3ba5b82aebb6
child 558 29a370694c53
--- a/src/js/init.js	Fri Dec 30 17:06:22 2011 +0100
+++ b/src/js/init.js	Mon Jan 02 11:02:38 2012 +0100
@@ -65,6 +65,13 @@
                pass everything as is */
           }
 
+          if (!options.hasOwnProperty("flashplayer")) {
+            options.flashplayer = IriSP.jwplayer_swf_path;
+          }
+
+          if (!options.hasOwnProperty("controlbar.position")) {
+            options["controlbar.position"] = "none";
+          }
           pop = IriSP.PopcornReplacement.jwplayer("#" + containerDiv, opts);
         break;