C# Class VideoPlayer.UI.MediaElementControl

Inheritance: System.Windows.Controls.UserControl
Exibir arquivo Open project: chris-tomich/Glyma Class Usage Examples

Public Methods

Method Description
MediaElementControl ( ) : System
Pause ( ) : void
Play ( ) : void
Play ( Command command ) : void
ResetToDefaultNode ( ) : void
Seek ( Command seekCommand ) : void
SeekBySeconds ( int seconds ) : void
SeekToMediaPosition ( System.TimeSpan position ) : void
SetCurrentNodeFromNodeId ( System.Guid nodeId ) : void
Stop ( ) : void

Private Methods

Method Description
HandleCurrentNodePlay ( Command command ) : void
HandleNonCurrentNodePlay ( Command command, System.Guid id ) : void
MediaPlayer_BufferingProgressChanged ( object sender, RoutedEventArgs e ) : void
MediaPlayer_CurrentStateChanged ( object sender, RoutedEventArgs e ) : void
MediaPlayer_DownloadProgressChanged ( object sender, RoutedEventArgs e ) : void
MediaPlayer_MarkerReached ( object sender, System.Windows.Media.TimelineMarkerRoutedEventArgs e ) : void
MediaPlayer_MediaEnded ( object sender, RoutedEventArgs e ) : void
MediaPlayer_MediaFailed ( object sender, System.Windows.ExceptionRoutedEventArgs e ) : void
MediaPlayer_MediaOpened ( object sender, RoutedEventArgs e ) : void
PlayCurrentVideoNode ( ) : void
ResetMediaPlayer ( ) : void
SetMediaPlayToStart ( ) : void
VideoNodesControllerOnNodeChanged ( object sender, NodeChangedEventArgs e ) : void

Method Details

MediaElementControl() public method

public MediaElementControl ( ) : System
return System

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

Play() public method

public Play ( Command command ) : void
command Command
return void

ResetToDefaultNode() public method

public ResetToDefaultNode ( ) : void
return void

Seek() public method

public Seek ( Command seekCommand ) : void
seekCommand Command
return void

SeekBySeconds() public method

public SeekBySeconds ( int seconds ) : void
seconds int
return void

SeekToMediaPosition() public method

public SeekToMediaPosition ( System.TimeSpan position ) : void
position System.TimeSpan
return void

SetCurrentNodeFromNodeId() public method

public SetCurrentNodeFromNodeId ( System.Guid nodeId ) : void
nodeId System.Guid
return void

Stop() public method

public Stop ( ) : void
return void