Академический Документы
Профессиональный Документы
Культура Документы
Search
Login
All flashvars can also be listed in an XML file and then fed to the player with a single flashvar:
● config (undefined): location of a XML file with flashvars. Useful for short embed codes or CDN
stream redirecting. Here's an example:
<config>
<image>files/bunny.jpg</image>
<repeat>true</repeat>
<backcolor>333333</backcolor>
<volume>40</volume>
<controlbar>over</controlbar>
</config>
Flashvars set in the embed code will overwrite those in the config XML again.
File properties
Next to loading as flashvars, these items can also be assigned to every entry in playlists.
Colors
● backcolor (undefined): background color of the controlbar and playlist. This is white with the
default skin.
● frontcolor (undefined): color of all icons and texts in the controlbar and playlist.
● lightcolor (undefined): color of an icon or text when you rollover it with the mouse.
● screencolor (undefined): background color of the display.
All these colors are in so-called hexadecimal values as is common for web colors. The wizard
contains a colorpicker you can use if you're not proficient with web colors.
Layout
● controlbar (bottom): position of the controlbar. Can be set to bottom, over and none.
● dock (true): set this to false to hide the dock with large buttons in the top right of the player.
Available since 4.5.
● height (400): height of the display in pixels. When resizing is set to false, this is the overall
player height.
● icons (true): set this to false to hide the play button and buffering icon in the middle of the
video.
● playlist (none): position of the playlist. Can be set to bottom, over, right or none.
● playlistsize (180): when below this refers to the height, when right this refers to the width of
the playlist.
● skin (undefined): location of a SWF file with the player graphics. Here's a skinning tutorial,
an overview of supported elements and a couple of example skins.
● width (280): width of the display in pixels. When resizing is set to false, this is the overall
player width.
Behaviour
API
● client (Flash MAC X,0,XXX,0): Version and platform of the Flash client plugin. Useful to check
for e.g. MP4 playback or fullscreen capabilities.
● debug (undefined): set this to either arthropod, console or trace to let the player log events.
Available since 4.5. More info in the building plugins tutorial.
● id (ply): ID of the player within the javascript DOM. Useful for javascript interaction. This is
automatically set for Windows / MAC, but under Linux you'll have to set the flashvar.
● plugins (undefined): a powerful new feature, this is a comma-separated list of swf plugins to
load (e.g. yousearch,viral). Each plugin has a unique ID and resides at plugins.longtailvideo.com.
Go to the LongTailVideo AddOns section to see all available plugins.
● version (4.x.rrr): exact major release, minor release and revision number of the player. sent
to javascript with every call. The revision number is always upped no matter the release, so
4.2.51 is the revision right after 4.1.50.