Interface fvaswing.components.reader.video.FvVideoDocumentListener

Description

All FvVideoDocument listeners must implement this interface.

Method Index

onErrorDocument(), onMetaData(), onVideoMute(), onVideoPlayChange(), onVideoPlayHeadChange(), onVideoStop()

Method Detail

onMetaData

public function onMetaData(event:FvReaderEvent):Void

Inits UI with passed-in FvVideoDocument video document.

onVideoPlayHeadChange

public function onVideoPlayHeadChange(event:FvReaderEvent):Void

Update progression bar with current time

onErrorDocument

public function onErrorDocument(event:FvReaderEvent):Void

Triggered when an error occured during video loading process.

Thus video is not available, hides the control bar.

onVideoPlayChange

public function onVideoPlayChange(event:FvReaderEvent):Void

Triggered when user change "play/pause" state of video.

onVideoStop

public function onVideoStop(event:FvReaderEvent):Void

Triggered when user stop video.

onVideoMute

public function onVideoMute(event:FvReaderEvent):Void

Triggered when user change "mute" state of video.