C# Class Vidka.Components.VidkaPreviewPlayer

Inheritance: System.Windows.Forms.UserControl, IVideoPlayer
显示文件 Open project: miktemk/VidkaEditor

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
VidkaPreviewPlayer ( ) : System

Private Methods

Method Description
MediaPlayer_MediaError ( object sender, AxWMPLib e ) : void
MediaPlayer_PlayStateChange ( object sender, AxWMPLib e ) : void
VidkaPreviewPlayer_Load ( object sender, EventArgs e ) : 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

VidkaPreviewPlayer() public method

public VidkaPreviewPlayer ( ) : System
return System