new MockPlayer(t)
Use it as a basic player mockup to begin your own player
Rewrite the methods you need.
Enjoy!
Parameters:
Name | Type | Description |
---|---|---|
t |
Telll | The Telll object |
- Implements:
- Source:
Methods
_init()
_init
- Source:
_showWidget(t)
Private method
Parameters:
Name | Type | Description |
---|---|---|
t |
Telll | The Telll object |
- Source:
Fires:
atach()
- Source:
Returns:
null
detach()
- Source:
Returns:
null
loadBehaviors(t)
Parameters:
Name | Type | Description |
---|---|---|
t |
Telll |
- Source:
pause(error, callback)
Parameters:
Name | Type | Description |
---|---|---|
error |
||
callback |
- Implements:
- Source:
play(error, callback)
Parameters:
Name | Type | Description |
---|---|---|
error |
||
callback |
- Implements:
- Source:
seek(error, callback)
Parameters:
Name | Type | Description |
---|---|---|
error |
||
callback |
- Implements:
- Source:
selectMovie(error, callback)
Parameters:
Name | Type | Description |
---|---|---|
error |
||
callback |
- Source:
stop(error, callback)
Parameters:
Name | Type | Description |
---|---|---|
error |
||
callback |
- Implements:
- Source:
timeupdate(error, callback)
Parameters:
Name | Type | Description |
---|---|---|
error |
||
callback |
- Source:
Events
loaded
Event loaded
Movie loaded in player
Type:
- Implements:
- Source:
loaded
Event loaded
Movie loaded in player
Type:
- Implements:
- Source:
paused
Event paused
Movie is paused
Type:
- integer
- Implements:
- Source:
paused
Event paused
Movie is paused
Type:
- integer
- Implements:
- Source:
playing
Event playing
Movie is playing
Type:
- integer
- Implements:
- Source:
playing
Event playing
Movie is playing
Type:
- integer
- Implements:
- Source:
timeupdate
Event timeupdate
Time is updated
Type:
- integer
- Implements:
- Source:
timeupdate
Event timeupdate
Time is updated
Type:
- integer
- Implements:
- Source: