src/js/init.js
branchpopcorn-port
changeset 557 e331072ce8fd
parent 539 3ba5b82aebb6
child 558 29a370694c53
equal deleted inserted replaced
556:d1f6b4841f35 557:e331072ce8fd
    63           } else {
    63           } else {
    64             /* other providers type, video for instance -
    64             /* other providers type, video for instance -
    65                pass everything as is */
    65                pass everything as is */
    66           }
    66           }
    67 
    67 
       
    68           if (!options.hasOwnProperty("flashplayer")) {
       
    69             options.flashplayer = IriSP.jwplayer_swf_path;
       
    70           }
       
    71 
       
    72           if (!options.hasOwnProperty("controlbar.position")) {
       
    73             options["controlbar.position"] = "none";
       
    74           }
    68           pop = IriSP.PopcornReplacement.jwplayer("#" + containerDiv, opts);
    75           pop = IriSP.PopcornReplacement.jwplayer("#" + containerDiv, opts);
    69         break;
    76         break;
    70       
    77       
    71       case "youtube":
    78       case "youtube":
    72           var opts = IriSP.jQuery.extend({}, options);
    79           var opts = IriSP.jQuery.extend({}, options);