new TagPlayer(t, mp)
Class: TagPlayer
It inherits the iView abstract class
Parameters:
Name | Type | Description |
---|---|---|
t |
Telll | The Telll object |
mp |
iPlayer | The movie player as a iPlayer instance |
- Source:
Listens to Events:
- event:iPlayer
Methods
_showWidget(data)
Parameters:
Name | Type | Description |
---|---|---|
data |
- Source:
Returns:
bool
animTag(x1, y1, x2, y2, tout, time, plId, last)
animTag
Parameters:
Name | Type | Description |
---|---|---|
x1 |
||
y1 |
||
x2 |
||
y2 |
||
tout |
||
time |
||
plId |
||
last |
- Source:
attach()
- Source:
Returns:
null
close()
- Source:
Returns:
null
detach()
- Source:
Returns:
bool
flashIcon()
- Source:
Returns:
null
getTracks()
- Source:
Returns:
null
handleState(cb)
Telll movie player has 4 possible screen status:
- flat: movie controls and panel closed
- controls: movie controls opened and panel closed
- panel: movie controls closed and panel opened
- controls-panel: movie controls and panel opened
Parameters:
Name | Type | Description |
---|---|---|
cb |
function | Callback |
- Source:
handleTag()
Traverse the tags to find a trackmotion begining to play now
Register the tag found and play it
#param t {Integer}
- Source:
Returns:
bool
loadBehaviors()
- Source:
Returns:
bool
loadMustachePlugins()
Needs to load tags ans photolinks in store first
- Source:
Returns:
bool
loadTags(mid, cb)
Parameters:
Name | Type | Description |
---|---|---|
mid |
Integer | The movie id |
cb |
function | callback |
- Source:
Returns:
bool
open()
- Source:
Returns:
null
pause()
- Source:
Returns:
bool
playTrackms()
- Source:
Returns:
null
scrollPhotolinksPanel()
- Source:
Returns:
null
show()
Needs to load tags ans photolinks in store first
- Source:
Returns:
bool
tagWarn(time)
the telll logo button is allways in the titlebar.
on called tagWarn the logo comes to body for time
Parameters:
Name | Type | Description |
---|---|---|
time |
Integer | in milisseconds |
- Source:
viewMode(mode)
Parameters:
Name | Type | Description |
---|---|---|
mode |
String | default, none or boom |
- Source:
Returns:
null