Module: empSmooth

emp-smooth.js

Classes

EmpSmooth
EmpSmooth

Methods


<inner> canHandleSource(source [, options])

canHandleSource

Parameters:
Name Type Argument Description
source Object

Source for playback

options Object <optional>

The key/value store of tech options.

Returns:

canHandleSource

Type
probably | maybe | *

<inner> canPlayType(type [, options])

Determine if we can play type

Parameters:
Name Type Argument Description
type string

mime-type

options Object <optional>

The key/value store of tech options.

Returns:

canPlayType

Type
probably | ''

<inner> handleSource(source, tech)

Handle source

Source handler for smooth playback.

Parameters:
Name Type Description
source Object

Source object for playback

tech EmpSmooth

The instance of the EmpSmooth tech


<inner> handleSource(source, tech)

Handle source

Parameters:
Name Type Description
source Object

Source for playback

tech Tech

Tech object to use for playback


<inner> setCurrentTime(time)

Set current time

Parameters:
Name Type Description
time number

Current time of video