Public Member Functions | Public Attributes

BeEmbedFlashHelper Class Reference

Flash embed helper. More...

Inheritance diagram for BeEmbedFlashHelper:
AppHelper

List of all members.

Public Member Functions

 embedSwf ($swfUrl, $attributes=array(), $flashvars=array(), $params=array())
 embed SWF flash object using swfobject
 embedFlv ($flvUrl, $attributes=array(), $flashvars=array(), $params=array())
 embed flv video
 embedAudio ($audioFile, $attributes=array(), $flashvars=array(), $params=array())
 embed audio
 embedPlayer ($fileToPlay, $attributes=array(), $flashvars=array(), $params=array(), $fileType=null)
 generate code to embed video/audio player file extension supported: mp3, flv, m4v
 embed ($obj, $params, $htmlAttributes)
 embed generic flash object (video, swf, audio mp3) file extension supported: mp3, flv, m4v
 embedFlowplayer ($swfUrl, $mediaUrl, $attributes, $flashvars, $params, $fileType)
 generate code for embed Flowplayer default behavior: generate

and flowplayer javascript call $params[htmlEmbed] = true => generate directly HTML code (<object....

 embedWpaudioplayer ($swfUrl, $audioFileUrl, $attributes, $flashvars, $params)
 embedHtml ($swfUrl, $attributes, $flashvars=array(), $params=array())
 generate html code for embedding flash object

Public Attributes

 $helpers = array("Javascript")

Detailed Description

Flash embed helper.

Version:
$Revision$ $LastChangedBy$ $LastChangedDate$

$Id$

Definition at line 32 of file be_embed_flash.php.


Member Function Documentation

BeEmbedFlashHelper::embed ( obj,
params,
htmlAttributes 
)

embed generic flash object (video, swf, audio mp3) file extension supported: mp3, flv, m4v

Parameters:
array $obj BEdita multimedia object
array $params contains flashvars, params tag
array $htmlAttributes
Returns:
mixed string|boolean, html code of embed media, or false if file extension is not supported

Definition at line 147 of file be_embed_flash.php.

References embedAudio(), embedFlv(), and embedSwf().

BeEmbedFlashHelper::embedAudio ( audioFile,
attributes = array(),
flashvars = array(),
params = array() 
)

embed audio

Parameters:
string $audioFile path or url
array $attributes
array $flashvars
array $params mixed string|boolean, html code of embed media, or false if file extension is not supported

Definition at line 94 of file be_embed_flash.php.

References embedPlayer().

Referenced by embed().

BeEmbedFlashHelper::embedFlowplayer ( swfUrl,
mediaUrl,
attributes,
flashvars,
params,
fileType 
)

generate code for embed Flowplayer default behavior: generate

and flowplayer javascript call $params[htmlEmbed] = true => generate directly HTML code (<object....

>...<embed>...</object>) no javascript

Parameters:
string $swfUrl
string $mediaUrl, audio/video file (mp3/flv)
array $attributes, html attributes
array $flashvars
array $params
string $fileType, video/audio
Returns:
string html code for views

Definition at line 198 of file be_embed_flash.php.

References embedHtml().

BeEmbedFlashHelper::embedFlv ( flvUrl,
attributes = array(),
flashvars = array(),
params = array() 
)

embed flv video

Parameters:
string $flvUrl
array $attributes
array $flashvars
array $params mixed string|boolean, html code of embed media, or false if file extension is not supported

Definition at line 81 of file be_embed_flash.php.

References embedPlayer().

Referenced by embed().

BeEmbedFlashHelper::embedHtml ( swfUrl,
attributes,
flashvars = array(),
params = array() 
)

generate html code for embedding flash object

Parameters:
string $swfUrl
array $attributes
array $flashvars
array $params
Returns:
string html code

Definition at line 287 of file be_embed_flash.php.

Referenced by embedFlowplayer().

BeEmbedFlashHelper::embedPlayer ( fileToPlay,
attributes = array(),
flashvars = array(),
params = array(),
fileType = null 
)

generate code to embed video/audio player file extension supported: mp3, flv, m4v

Parameters:
string $fileToPlay
array $attributes
array $flashvars
array $params
string $fileType
Returns:
mixed string|boolean, html code of embed media, or false if file extension is not supported

Definition at line 109 of file be_embed_flash.php.

References embedSwf().

Referenced by embedAudio(), and embedFlv().

BeEmbedFlashHelper::embedSwf ( swfUrl,
attributes = array(),
flashvars = array(),
params = array() 
)

embed SWF flash object using swfobject

Parameters:
string $swfUrl
array $attributes
array $flashvars
array $params
Returns:
string html code

Definition at line 48 of file be_embed_flash.php.

Referenced by embed(), and embedPlayer().


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:46 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus