Supports a single event in the Media > Track > TrackEvent model.
Represents and governs a single popcorn event.
- param options : Options for initialization. Can contain the properties type, name, and popcornOptions. If the popcornOptions property is specified, its contents will be used to initialize the plugin instance associated with this TrackEvent.
Usage: TrackEvent(options)
Updates the event properties and runs sanity checks on input.
- param updateOptions : Object containing plugin-specific properties to be updated for this TrackEvent.
- event trackeventupdatefailed : Occurs when an update operation failed because of conflicting times or other serious property problems. As the data property on this event is a string which represents the reason for failure.
- event trackeventupdated : Occurs whenan update operation succeeded.
Usage: update(updateOptions, trackeventupdatefailed, trackeventupdated)
Moves the event to the left, or shrinks it by a specified amount.
- param inc : Amount by which the event is to move or grow.
- param metaKey : State of the metaKey (windows, command, etc.). When true, the event duration is shortened.
- event trackeventupdated : Occurs whenan update operation succeeded.
Usage: moveFrameLeft(inc, metaKey, trackeventupdated)
Moves the event to the right, or elongates it by a specified amount.
- param inc : Amount by which the event is to move or grow.
- param metaKey : State of the metaKey (windows, command, etc.). When true, the event duration is lengthened.
- event trackeventupdated : Occurs whenan update operation succeeded.
Usage: moveFrameRight(inc, metaKey, trackeventupdated)
Specifies the track on which this TrackEvent currently sites. When set, an update occurs.
A reference to the view object generated for this TrackEvent.
The type representing the popcorn plugin created and manipulated by this TrackEvent.
Name of this TrackEvent.
Name of this TrackEvent.
Specifies the state of selection. When true, this TrackEvent is selected.
Represents this TrackEvent in a portable JSON format.