thd/web/js/flowplayer/uc.flowplayer.config.js
changeset 104 8e4fe6f3337d
parent 103 d2af8a210f5d
child 105 c8f710cd1fb1
equal deleted inserted replaced
103:d2af8a210f5d 104:8e4fe6f3337d
     1 /**
       
     2  * Example external configuration file.
       
     3  * You can freely categorize these nodes
       
     4  */
       
     5 var conf = {
       
     6     // default clip configuration
       
     7 
       
     8     selection: {
       
     9         autoPlay: true,
       
    10         autoBuffering: true,
       
    11         baseUrl: 'http://media.universcine.com',
       
    12         hideDelay: 2000
       
    13     },
       
    14     photo: {
       
    15     	autoPlay: true,
       
    16         autoBuffering: false
       
    17     },
       
    18     player: {
       
    19         autoPlay: true,
       
    20         autoBuffering: true,
       
    21         hideDelay: 2000
       
    22     },
       
    23 
       
    24     // my skins
       
    25     skins: {
       
    26         universcine:  {
       
    27             // location of the plugin
       
    28 
       
    29 		        // display properties such as size, location and opacity
       
    30 		        bottom: 0,
       
    31 		        height: 24,
       
    32 
       
    33 
       
    34 		        // progress bar
       
    35 		        progressColor: '#990000',
       
    36 		        bufferColor: '#333333',
       
    37 		        SliderColor: '#333333',
       
    38 
       
    39 		        // buttons
       
    40 		       	buttonColor: '#990000',
       
    41 		        buttonColorOver: '#999999',
       
    42 
       
    43 		        // styling properties (will be applied to all plugins)
       
    44         		backgroundColor: '#000000',
       
    45        			backgroundGradient: 'none',
       
    46        			opacity: 0.8,
       
    47 
       
    48 
       
    49 		        // controlbar specific settings
       
    50 		        autoHide: true,
       
    51 		        all: false,
       
    52 		        play: true,
       
    53 		        scrubber: true,
       
    54 		        mute: true,
       
    55 		        volume: true,
       
    56 		        fullscreen: true,
       
    57 
       
    58 		     // a little more styling
       
    59 	            width: '99%',
       
    60 	            bottom: 2,
       
    61 	            left: '50%',
       
    62 	            borderRadius: 5
       
    63         }
       
    64 
       
    65         // setup additional skins here ...
       
    66     }
       
    67 
       
    68 }