Class Index | File Index

Classes


Class media.players.flash


Extends media.display.
The Flash media player class to control the flash fallback.
Defined in: drupal.media.players.flash.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
media.players.flash(context, options, mediaFile)
Method Summary
Method Attributes Method Name and Description
<static>  
media.players.flash.canPlay(file)
 
 
 
<static>  
media.players.flash.getFlash(params)
API to return the Flash player code provided params.
 
 
Return the player time duration.
<static>  
media.players.flash.getPriority()
 
 
load(file)
 
Should be called when the meta data has finished loading.
 
Should be called when the media is paused.
 
Should be called when the media is playing.
 
Called when the player is ready.
 
 
Reset the flash player variables.
Methods borrowed from class media.display:
getElements, isValid
Methods borrowed from class media.plugin:
construct, setPlayer
Class Detail
media.players.flash(context, options, mediaFile)
Parameters:
{object} context
The jQuery context.
{object} options
This components options.
mediaFile
Method Detail
<static> media.players.flash.canPlay(file)
Parameters:
file
See:
media.players.base#canPlay

create()
See:
media.players.base#create

destroy()
See:
media.players.base#destroy

getDuration()
See:
media.players.base#getDuration

<static> media.players.flash.getFlash(params)
API to return the Flash player code provided params.
Parameters:
{object} params
The params used to populate the Flash code.

getPlayer()
See:
media.players.base#getPlayer

{int} getPlayerDuration()
Return the player time duration.
Returns:
{int} The player duration.

<static> media.players.flash.getPriority()
See:
media.players.base#getPriority

isReady()
See:
media.players.base#isReady

load(file)
Parameters:
file
See:
media.players.base#load

onMeta()
Should be called when the meta data has finished loading.

onPaused()
Should be called when the media is paused.

onPlaying()
Should be called when the media is playing.

onReady()
Called when the player is ready.

playerFound()
See:
media.players.base#playerFound

reset()
Reset the flash player variables.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Nov 22 2011 23:07:52 GMT+0100 (CET)