Code:
options = $extend({
loop: false, // Allows to navigate between first and last images
stopKey: true, // Prevents default keyboard action (such as up/down arrows), in lieu of the shortcuts
// Does not apply to iFrame content
// Does not affect mouse scrolling
overlayOpacity: 0.7, // 1 is opaque, 0 is completely transparent (change the color in the CSS file)
// Remember that Firefox 2 and Camino 1.6 on the Mac require a background .png set in the CSS
resizeOpening: true, // Determines if box opens small and grows (true) or start full size (false)
resizeDuration: 240, // Duration of each of the box resize animations (in milliseconds)
resizeTransition: false, // Mootools transition effect (false leaves it at the default)
initialWidth: 320, // Initial width of the box (in pixels)
initialHeight: 180, // Initial height of the box (in pixels)
defaultWidth: 640, // Default width of the box (in pixels) for undefined media (MP4, FLV, etc.)
defaultHeight: 400, // Default height of the box (in pixels) for undefined media (MP4, FLV, etc.)
showCaption: true, // Display the title and caption, true / false
showCounter: true, // If true, a counter will only be shown if there is more than 1 image to display
counterText: '({x} / {y})', // Translate or change as you wish
// Image options
imgBackground: false, // Embed images as CSS background (true) or <img> tag (false)
// ...a CSS background is naturally non-clickable, preventing downloads
// ...the IMG tag allows automatic scaling for smaller screens, minimal no-click code is included but does not work in Opera
imgPadding: 70, // Clearance necessary for images larger than the window size (only used when imgBackground is false)
// Change this number only if the CSS style is significantly divergent from the original, and requires different sizes
// Global media options
scriptaccess: 'true', // Allow script access to flash files
fullscreen: 'true', // Use fullscreen
fullscreenNum: '1', // 1 = true
autoplay: 'true', // Plays the video as soon as it's opened
autoplayNum: '1', // 1 = true
autoplayYes: 'yes', // yes = true
volume: '100', // 0-100, used for NonverBlaster and Quicktime players
medialoop: 'true', // Loop video playback, true / false, used for NonverBlaster and Quicktime players
bgcolor: '#000000', // Background color, used for flash and QT media
wmode: 'opaque', // Background setting for Adobe Flash ('opaque' and 'transparent' are most common)
// NonverBlaster
useNB: true, // use NonverBlaster (true) or JW Media Player (false) for .flv and .mp4 files
playerpath: 'system/modules/lightbox4ward/html/NonverBlaster.swf', // Path to NonverBlaster.swf
controlColor: '0xFFFFFF', // set the controlbar color
controlBackColor: '0x000000', // set the controlbar color
showTimecode: 'false', // turn timecode display off or on
// JW Media Player settings and options
JWplayerpath: '/js/player.swf', // Path to the mediaplayer.swf or flvplayer.swf file
backcolor: '000000', // Base color for the controller, color name / hex value (0x000000)
frontcolor: '999999', // Text and button color for the controller, color name / hex value (0x000000)
lightcolor: '000000', // Rollover color for the controller, color name / hex value (0x000000)
screencolor: '000000', // Rollover color for the controller, color name / hex value (0x000000)
controlbar: 'over', // bottom, over, none (this setting is ignored when playing audio files)
// Quicktime options
controller: 'true', // Show controller, true / false
// Flickr options
flInfo: 'true', // Show title and info at video start
// Revver options
revverID: '187866', // Revver affiliate ID, required for ad revinue sharing
revverFullscreen: 'true', // Fullscreen option
revverBack: '000000', // Background color
revverFront: 'ffffff', // Foreground color
revverGrad: '000000', // Gradation color
// Ustream options
usViewers: 'true', // Show online viewer count (true/false)
// Youtube options
ytBorder: '0', // Outline (1=true, 0=false)
ytColor1: '000000', // Outline color
ytColor2: '333333', // Base interface color (highlight colors stay consistent)
ytQuality: '&ap=%2526fmt%3D18', // Leave empty for standard quality, use '&ap=%2526fmt%3D18' for high quality, and '&ap=%2526fmt%3D22' for HD (note that not all videos are availible in high quality, and very few in HD)
ytRel: '0', // Show related videos (1=true, 0=false)
ytInfo: '1', // Show video info (1=true, 0=false)
ytSearch: '0', // Show search field (1=true, 0=false)
// Viddyou options
vuPlayer: 'basic', // Use 'full' or 'basic' players
// Vimeo options
vmTitle: '1', // Show video title
vmByline: '1', // Show byline
vmPortrait: '1', // Show author portrait
vmColor: 'ffffff' // Custom controller colors, hex value minus the # sign, defult is 5ca0b5
}, _options || {});
Lesezeichen