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