Class SntEmbed
Defined in: SntEmbed.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
SntEmbed(id, movie, flashvars, params, attributes)
Create a new Sonettic-Cinema embed object.
|
| Method Attributes | Method Name and Description |
|---|---|
|
render(SntEmbedEngine)
render all embed data to flash object
|
|
|
setAttributes(attrs)
Merge attributes
|
|
|
setCallback(fn)
set an callback function to execute after flash object initialize
|
|
|
setFlashvars(fv)
Merge flashvars
|
|
|
setParams(params)
Merge parameters
|
|
|
setSize(width, height)
set container size
|
Class Detail
SntEmbed(id, movie, flashvars, params, attributes)
Create a new Sonettic-Cinema embed object.
This object for dynamically choice between swfobject and
pure html code for generation adobe flash object code
- Parameters:
- id
- movie
- flashvars
- params
- attributes
Method Detail
render(SntEmbedEngine)
render all embed data to flash object
- Parameters:
- SntEmbedEngine
- object
- Returns:
- boolean
setAttributes(attrs)
Merge attributes
- Parameters:
- attrs
- List of attributes
setCallback(fn)
set an callback function to execute after flash object initialize
- Parameters:
- fn
- callback function instance
- Returns:
- void
setFlashvars(fv)
Merge flashvars
- Parameters:
- fv
- Array with new flashvars
setParams(params)
Merge parameters
- Parameters:
- params
setSize(width, height)
set container size
- Parameters:
- width
- width of the video container
- height
- of the video container