API Docs for: 0.2.38
Show:

HTML5Video Class

Constructor

HTML5Video

()

Example:

var video = new HTML5Video({src: 'http://example.com/example.mpd'})
//starts to play the video
video.play()

Methods

constructor

(
  • general
)

constructor.

Parameters:

loadedMetadata

(
  • e
)
Boolean

This is called when loadedmetadata is fired by tag video.

Parameters:

Returns:

Boolean:

Returns true on success

play

()

play.

setupSafari

() private

Safari needs to be initialized with preload set to 'auto'

Properties

attributes

Object

data attributes (k,v) for the component

events

Object

events binding

name

String

component name

template

Object

template for the component