src/js/main.js
branchpopcorn-port
changeset 574 5770c64e2ec6
parent 572 5597a15fe9d0
child 662 5e10069c5c21
equal deleted inserted replaced
573:d0bce45283f7 574:5770c64e2ec6
    13 }
    13 }
    14 
    14 
    15 IriSP.loadLibs = function( libs, config, metadata_url, callback ) {
    15 IriSP.loadLibs = function( libs, config, metadata_url, callback ) {
    16     // Localize jQuery variable
    16     // Localize jQuery variable
    17 		IriSP.jQuery = null;
    17 		IriSP.jQuery = null;
    18     var $L = $LAB.script(libs.jQuery).script(libs.swfObject)
    18     var $L = $LAB.script(libs.jQuery).script(libs.swfObject).wait()
    19                 .script(libs.jQueryUI).wait();
    19                 .script(libs.jQueryUI);
    20                                    
    20                                    
    21     if (config.player.type === "jwplayer") {
    21     if (config.player.type === "jwplayer") {
    22       // load our popcorn.js lookalike
    22       // load our popcorn.js lookalike
    23       $L = $L.script(libs.jwplayer);
    23       $L = $L.script(libs.jwplayer);
    24     } else {
    24     } else {