C# Class Vidka.Components.VidkaFastPreviewPlayerWrapper

Since VidkaFastPreviewPlayer.cs does not support playback, we need to wrap inside this wrapper class to swap playerFast and playerWmp depending on whether we are doing playback
Inheritance: IVideoPlayer
ファイルを表示 Open project: miktemk/VidkaEditor Class Usage Examples

Public Methods

Method Description
GetPositionSec ( ) : double
IsStopped ( ) : bool
PlayVideoClip ( string filename, double clipSecStart, double clipSecEnd, bool mute ) : void
PleaseUnlockThisFile ( string filename ) : void
SetStillFrame ( string filename, double offsetSeconds ) : void
SetStillFrameNone ( ) : void
StopWhateverYouArePlaying ( ) : void
VidkaFastPreviewPlayerWrapper ( VidkaFastPreviewPlayer playerFast, IVideoPlayer playerWmp, IVidkaMainForm form ) : System

Private Methods

Method Description
setWmpEnabled ( bool enabled ) : void

Method Details

GetPositionSec() public method

public GetPositionSec ( ) : double
return double

IsStopped() public method

public IsStopped ( ) : bool
return bool

PlayVideoClip() public method

public PlayVideoClip ( string filename, double clipSecStart, double clipSecEnd, bool mute ) : void
filename string
clipSecStart double
clipSecEnd double
mute bool
return void

PleaseUnlockThisFile() public method

public PleaseUnlockThisFile ( string filename ) : void
filename string
return void

SetStillFrame() public method

public SetStillFrame ( string filename, double offsetSeconds ) : void
filename string
offsetSeconds double
return void

SetStillFrameNone() public method

public SetStillFrameNone ( ) : void
return void

StopWhateverYouArePlaying() public method

public StopWhateverYouArePlaying ( ) : void
return void

VidkaFastPreviewPlayerWrapper() public method

public VidkaFastPreviewPlayerWrapper ( VidkaFastPreviewPlayer playerFast, IVideoPlayer playerWmp, IVidkaMainForm form ) : System
playerFast VidkaFastPreviewPlayer
playerWmp IVideoPlayer
form IVidkaMainForm
return System