Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameters:

 none

Returns:

 Number

 

isFullscreen

 

Code Block
isFullscreen()

 

Returns true if player is in fullscreen mode.

 

Parameters:

 

 none

 

Returns:

 

 Boolean


 

requestFullScreen

 

Code Block
requestFullScreen()

 

Tries to put player in fullscreen mode.

 

Parameters:

 

 none

 

Returns:

 

 none


exitFullScreen

 

 

 

Code Block
exitFullScreen()

 

 

 

Tries to disable fullscreen mode for player.

 

 

 

Parameters:

 

 none

 

Returns:

 

 none


setSession

Code Block
setSession(session:Object)

Updates player session for activities.

Parameters:

session - Session object ({'X-Frequency-Auth': '...', 'X-Frequency-DeviceId': '...'})

Returns:

void

addEventListener

Code Block
addEventListener(event:String, callback:String)

...