Class: MediaElementEvent

Stay organized with collections Save and categorize content based on your preferences.

Constructor

MediaElementEvent

new MediaElementEvent(type, currentMediaTime)

Parameter

type

cast.framework.events.EventType

Value must not be null.

currentMediaTime

Optional

number

Property

currentMediaTime

constant

(number or undefined)

The time in the currently-playing clip when the event was fired (in seconds). This is undefined if playback has not started yet.