C# Class jxGameFramework.Media.VideoPlayer

Inheritance: VideoPlayerBase
显示文件 Open project: jxpxxzj/WarshipGirl

Public Methods

Method Description
Pause ( ) : void
Play ( bool restart = true ) : void
Stop ( ) : void
Update ( GameTime gameTime ) : void
VideoPlayer ( string file, bool autosize = true ) : System
VideoPlayer ( string audio, string file, bool autosize = true ) : System

Protected Methods

Method Description
OnPlayEnd ( object sender, EventArgs e ) : void
SetProgress ( ) : void

Method Details

OnPlayEnd() protected method

protected OnPlayEnd ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( bool restart = true ) : void
restart bool
return void

SetProgress() protected method

protected SetProgress ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

VideoPlayer() public method

public VideoPlayer ( string file, bool autosize = true ) : System
file string
autosize bool
return System

VideoPlayer() public method

public VideoPlayer ( string audio, string file, bool autosize = true ) : System
audio string
file string
autosize bool
return System