src/js/defaults.js
author veltr
Fri, 04 May 2012 16:56:41 +0200
branchnew-model
changeset 883 d35ad8111c5e
parent 882 61c384dda19e
child 910 b9f1bd52df9a
permissions -rw-r--r--
Updated Popcorn and JwPlayer to the latest versions

IriSP.language = 'en';

IriSP.libFiles = {
    defaultDir : "js/libs/",
    inDefaultDir : {
        underscore : "underscore-min.js",
        Mustache : "mustache.js",
        jQuery : "jquery.min.js",
        jQueryUI : "jquery-ui.min.js",
        swfObject : "swfobject.js",
        cssjQueryUI : "jquery-ui.css",
        popcorn : "popcorn-complete.min.js",
        jwplayer : "jwplayer.js",
        raphael : "raphael-min.js",
        tracemanager : "tracemanager.js"
    },
    locations : {
        // use to define locations outside defautl_dir
    },
    cdn : {
        jQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.js",
        swfObject : "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js",
        cssjQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css"
    },
    useCdn : false
}

IriSP.widgetsDir = 'widgets';

IriSP.widgetsRequirements = {
    Sparkline: {
        noCss: true,
        requires: "raphael"
    },
    Arrow: {
        noCss: true,
        requires: "raphael"
    },
    Mediafragment: {
        noCss: true
    },
    Trace : {
        noCss: true,
        requires: "tracemanager"
    }
}

IriSP.guiDefaults = {
    width : 640,            
    container : 'LdtPlayer',
    spacer_div_height : 0
}