Sei sulla pagina 1di 1

FLASHVARS ARCHITECTURE

Italic vars are read-only. More info at developer.longtailvideo.com/trac/wiki/FlashVars The architecture is described in more detail at developer.longtailvideo.com/trac/wiki/FlashOverview

config (undefined) autostart (false)


bufferlength (1)
Player
author (undefined) displayclick (play)
composites
date (undefined) fullscreen (false)
description (undefined) icons (true) Configger (loads flashvars)
duration (0) item (0) SPLoader (loads skin and plugins)
file (undefined) logo (undefined) Initialize
image (undefined) mute (false)
link (undefined) replace (undefined)
start (0) repeat (none,list,always,single)
streamer (undefined) resizing (true) ModelEvent: ControllerEvent:
tags (undefined) respectduration (true)
BUFFER, percentage
Model ERROR, message
title (undefined) shuffle (false) ERROR, message composites ITEM, index
type (undefined) smoothing (true) LOADED, loaded, total, offset MUTE, state
state (idle,buffering,playing,paused,completed) CameraModel
META, entries .. PLAY, state
stretching (uniform,fill,exactfit,none) ImageModel
backcolor (undefined) STATE, newstate,oldstate PLAYLIST, array
volume (80) HTTPModel
frontcolor (undefined) TIME, position, duration RESIZE, fullscreen,height,width
SoundModel SEEK, position
lightcolor (undefined)
abouttext (undefined) RTMPModel STOP
screencolor (undefined)
aboutlink (http://www.jeroenwijering.com) VideoModel VOLUME, percentage

client (FLASH WIN 9.0.28) YoutubeModel


controlbar (bottom,over,none)
id (undefined) ....
height (300)
playlist (none,over,bottom,right) linktarget (_self)
playlistsize (180) plugins (undefined)
skin (undefined) version (4.0.00)
width (400)
View ViewEvent: Controller
FULLSCREEN, state
LINK, index

JAVASCRIPT API API


LOAD, object
MUTE, state Playlist
All events are described in more detail at developer.longtailvideo.com/trac/wiki/FlashAPI
NEXT
ITEM, index
Get variables: Send (View) events: Plugins PLAY, state
Parsers
getConfig() sendEvent(event,value) PREV
Controlbar ASXParser
getPlaylist() REDRAW
Display ATOMParser
getPluginConfig(name) Get plugin (only for actionscript: SEEK, position
Playlist RSSParser
getPlugin() STOP
Rightclick SMILParser
(Un)subscribe to events: VOLUME, percentage
.... XSPFParser
addModelListener(event,function) playerReady():
removeModelListener(event,function) When inited, the player calls a global
addControllerListener(event,function) playerReady() javascript function to
removeControllerListener(event,function) register itself to the page.

Potrebbero piacerti anche