Class fvaswing.components.reader.video.FvBasicVideoUI

Implemented Interfaces

FvVideoDocumentListener

Description

Basic control bar for FvVideoPlayer player.

Customize your own video control bar using fvaswing.components.reader.FvVideoPlayer.setVideoUIControl() method.

Method Index

new FvBasicVideoUI()
onErrorDocument(), onMetaData(), onVideoMute(), onVideoPlayChange(), onVideoPlayHeadChange(), onVideoStop(), toString()

Constructor Detail

FvBasicVideoUI

public function FvBasicVideoUI()

Constructor.

Method Detail

onMetaData

public function onMetaData(event:FvReaderEvent):Void

Inits UI with passed-in FvVideoDocument video document.

Specified By

onMetaData() in fvaswing.components.reader.video.FvVideoDocumentListener

onVideoPlayHeadChange

public function onVideoPlayHeadChange(event:FvReaderEvent):Void

Update progression bar with current time

Specified By

onVideoPlayHeadChange() in fvaswing.components.reader.video.FvVideoDocumentListener

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.

Specified By

onErrorDocument() in fvaswing.components.reader.video.FvVideoDocumentListener

onVideoPlayChange

public function onVideoPlayChange(event:FvReaderEvent):Void

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

Specified By

onVideoPlayChange() in fvaswing.components.reader.video.FvVideoDocumentListener

onVideoStop

public function onVideoStop(event:FvReaderEvent):Void

Triggered when user stop video.

Specified By

onVideoStop() in fvaswing.components.reader.video.FvVideoDocumentListener

onVideoMute

public function onVideoMute(event:FvReaderEvent):Void

Triggered when user change "mute" state of video.

Specified By

onVideoMute() in fvaswing.components.reader.video.FvVideoDocumentListener

toString

public function toString():String

Returns string representation.