Class SntSwfobjectEmbed
Defined in: SntSwfobjectEmbed.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Engine to render an abstract data to pure HTML
|
| Method Attributes | Method Name and Description |
|---|---|
|
render(id, swfMovie, size, flashvars, params, attributes)
Render all received data to object element with required params.
|
|
|
setCallback(fn)
Set callback function
|
Method Detail
render(id, swfMovie, size, flashvars, params, attributes)
Render all received data to object element with required params.
This function used SntEmbed#render
- Parameters:
- id
- Id of the holder
- swfMovie
- path to the swf
- size
- an array with two elements `width` and `height` with video holder size
- flashvars
- array with flashvars
- params
- array with parameters
- attributes
- an array with attributes
setCallback(fn)
Set callback function
- Parameters:
- fn
- callback function or null
- Returns:
- void