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
Afficher le fichier Open project: miktemk/VidkaEditor Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
setWmpEnabled ( bool enabled ) : void

Method Details

GetPositionSec() public méthode

public GetPositionSec ( ) : double
Résultat double

IsStopped() public méthode

public IsStopped ( ) : bool
Résultat bool

PlayVideoClip() public méthode

public PlayVideoClip ( string filename, double clipSecStart, double clipSecEnd, bool mute ) : void
filename string
clipSecStart double
clipSecEnd double
mute bool
Résultat void

PleaseUnlockThisFile() public méthode

public PleaseUnlockThisFile ( string filename ) : void
filename string
Résultat void

SetStillFrame() public méthode

public SetStillFrame ( string filename, double offsetSeconds ) : void
filename string
offsetSeconds double
Résultat void

SetStillFrameNone() public méthode

public SetStillFrameNone ( ) : void
Résultat void

StopWhateverYouArePlaying() public méthode

public StopWhateverYouArePlaying ( ) : void
Résultat void

VidkaFastPreviewPlayerWrapper() public méthode

public VidkaFastPreviewPlayerWrapper ( VidkaFastPreviewPlayer playerFast, IVideoPlayer playerWmp, IVidkaMainForm form ) : System
playerFast VidkaFastPreviewPlayer
playerWmp IVideoPlayer
form IVidkaMainForm
Résultat System