1/* All the presets options are the custom ones */ 2 3var rokbox; 4window.addEvent('domready', function() { 5 rokbox = new RokBox({ 6 'theme': 'light', // this string must match the theme folder name (string, no space, lowercase) 7 'transition': Fx.Transitions.Quad.easeOut, // Transition to use when opening RokBox 8 'duration': 400, // Duration of opening RokBox Effect (integer, milliseconds) 9 'chase': 50, // Chase to use for the animation. works only for growl, see next line. (integer) 10 'frame-border': 20, // Width of each border if any (integer, pixels) 11 'content-padding': 0, // Padding of internal content wrapper (integer, pixels) 12 'arrows-height': 35, // Height of arrows div (integer, pixels) 13 'effect': 'growl', // Type of effect to use. Presets are: 'quicksilver', 'growl', 'explode' 14 'captions': 1, // Whether to enable or disable captions (boolean, 1 or 0) 15 'captionsDelay': 800, // How long captions effect should last, when captions are enabled (integer, milliseconds) 16 'scrolling': 0, // Makes RokBox follow when scrolling the page (boolean, 1 or 0) 17 'keyEvents': 1, // Enable keyevents. Esc, Left, Right to close and change previous or next (boolean, 1 or 0) 18 'overlay': { 19 'background': '#000', // Overlay background color (string, hex color format with starting hash #) 20 'opacity': 0.2, // Opacity of the overlay (float, from 0 to 1, 0.1 makes it invisible but clickable) 21 'duration': 200, // Duration of overlay effect (integer, milliseconds) 22 'transition': Fx.Transitions.Quad.easeInOut // Transition to use for opacity effect 23 }, 24 'defaultSize': { 25 'width': 640, // Default RokBox window width (integer) 26 'height': 460 // Default RokBox window height (integer) 27 }, 28 'autoplay': 'true', // Enable or disable autoplay for QuickTimes and WM videos (string, 'true' or 'false') 29 'controller': 'true', // Enable or disable controllers for QuickTimes and WM videos (string, 'true' or 'false') 30 'bgcolor': '#ffffff', // Set Background colors for all videos and flash services that support it (string, hex color format with starting hash #) 31 'youtubeAutoplay': 0, // Enable or disable autoplay for YouTube (boolean, 1 or 0) 32 'vimeoColor': '00adef', // Vimeo Color Scheme (string, hex color format WITHOUT starting hash #) 33 'vimeoPortrait': 0, // Enable or disable Vimeo Portrait Button (boolean, 1 or 0) 34 'vimeoTitle': 0, // Enable or disable Vimeo Title caption (boolean, 1 or 0) 35 'vimeoFullScreen': 1, // Enable or disable Vimeo FullScreen button (boolean, 1 or 0) 36 'vimeoByline': 0 // Enable or disable Vimeo's Author line (boolean, 1 or 0) 37 }); 38});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.