API Docs for: 2.0.0

Class media_block_stream

Class defined in: public/src/media_block_stream.js:18

Class for media block streaming applications, inherits from SAGE2_BlockStreamingApp

init( data )
public/src/media_block_stream.js:25

Init method, creates a 'div' tag in the DOM

Parameters:
  • data <Object>

    contains initialization values (id, width, height, ...)

load( state, date )
public/src/media_block_stream.js:36

Loads the app from a previous state

Parameters:
  • state <Object>

    object to initialize or restore the app

  • date <Date>

    time from the server