Method summary for the FLVPlayback class

The following table lists the methods of the FLVPlayback class:

Method

Description

FLVPlayback.addASCuePoint()

Adds an ActionScript cue point.

FLVPlayback.addEventListener()

Creates a listener for a specified event.

FLVPlayback.bringVideoPlayerToFront()

Brings a video player to the front of the stack of video players.

FLVPlayback.closeVideoPlayer()

Close NetStream for the video player with the specified index and deletes the video player.

FLVPlayback.findCuePoint()

Finds the specified type of cue point that has the specified time, the specified name, or the specified time and name.

FLVPlayback.findNearestCuePoint()

Finds the specified type of cue point at or near the given time or with the given name.

FLVPlayback.findNextCuePointWithName()

Finds the next cue point with the same name as a cue point returned by the findCuePoint() or findNearestCuePoint() methods.

FLVPlayback.getVideoPlayer()

Gets the video player specified by the index parameter.

FLVPlayback.isFLVCuePointEnabled()

Returns false if the FLV file embedded cue point is disabled by ActionScript.

FLVPlayback.load()

Begins loading the FLV file with the autoPlay property set to false.

FLVPlayback.pause()

Pauses playing the video stream.

FLVPlayback.play()

Begins playing the video stream and also allows loading and playing of a new FLV file.

FLVPlayback.removeASCuePoint()

Removes an ActionScript cue point.

FLVPlayback.removeEventListener()

Removes an event listener.

FLVPlayback.seek()

Seeks to a given time in the file, given in seconds, with decimal precision up to milliseconds.

FLVPlayback.seekPercent()

Seeks to a percentage of the way through the file.

FLVPlayback.seekSeconds()

Same as FLVPlayback.seek().

FLVPlayback.seekToNavCuePoint()

Seeks to the navigation cue point with the given name at or after the specified time.

FLVPlayback.seekToNextNavCuePoint()

Seeks to the next navigation cue point, based on the specified time.

FLVPlayback.seekToPrevNavCuePoint()

Seeks to the previous navigation cue point, based on the specified time.

FLVPlayback.setFLVCuePointEnabled()

Enables or disables one or more FLV file cue points.

FLVPlayback.setScale()

Sets scaleX and scaleY simultaneously.

FLVPlayback.setSize()

Sets width and height simultaneously.

FLVPlayback.stop()

Stops playing the video stream.