src/js/site.js
branchpopcorn-port
changeset 454 f921c98a180b
parent 453 8568e47379a2
child 455 d0dd2b30106c
equal deleted inserted replaced
453:8568e47379a2 454:f921c98a180b
     1 /* site.js - all our site-dependent config : player chrome, cdn locations, etc...*/
       
     2 
       
     3 IriSP.lib = { 
       
     4 		jQuery : "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js",
       
     5 		jQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.js",
       
     6 		jQueryToolTip : "http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js",
       
     7 		swfObject : "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js",
       
     8 		cssjQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css",
       
     9     popcorn : "src/js/libs/popcorn.js",
       
    10     jwplayer : "src/js/libs/jwplayer.js",
       
    11     "popcorn.mediafragment" : "src/js/libs/popcorn.mediafragment.js",
       
    12     "popcorn.code" : "src/js/libs/popcorn.code.js",
       
    13     "popcorn.jwplayer": "src/js/libs/popcorn.jwplayer.js",
       
    14     "popcorn.youtube": "src/js/libs/popcorn.youtube.js",
       
    15      raphael: "src/js/libs/raphael.js"
       
    16 };
       
    17 
       
    18 //Player Configuration 
       
    19 IriSP.config = undefined;
       
    20 
       
    21 IriSP.widgetsDefaults = {
       
    22   "LayoutManager" : {spacer_div_height : "0px" },
       
    23   "PlayerWidget" : {},
       
    24   "AnnotationsWidget": {},
       
    25   "TweetsWidget" : {
       
    26       default_profile_picture : "https://si0.twimg.com/sticky/default_profile_images/default_profile_1_normal.png",
       
    27       tweet_display_period: 10000 // how long do we show a tweet ?
       
    28   },
       
    29   "SliderWidget" : {
       
    30       minimize_period: 850 // how long does the slider stays maximized after the user leaves the zone ?
       
    31   }
       
    32 };
       
    33 
       
    34 IriSP.paths = {
       
    35   "imgs": "./../../src/css/imgs"
       
    36 };
       
    37 IriSP.default_templates_vars = {
       
    38   "img_dir" : IriSP.paths.imgs 
       
    39 };
       
    40