C# Class SRNicoNico.ViewModels.VideoFlashHandler

Inheritance: IObjectForScriptable, IDisposable
Mostrar archivo Open project: mrtska/SRNicoNico Class Usage Examples

Public Methods

Method Description
ApplyChanges ( ) : void
Dispose ( ) : void
InvokeScript ( string func ) : void
Invoked ( string cmd, string args ) : void
ReloadCommentAsync ( ) : void
VideoFlashHandler ( VideoViewModel vm ) : System

Protected Methods

Method Description
HideComment ( ) : void
Initialize ( System browser, VideoData videoData ) : void
InjectComment ( string json ) : void
InjectPostedComment ( string json ) : void
InjectUploaderComment ( string json ) : void
Pause ( ) : void
Restart ( ) : void
Resume ( ) : void
Seek ( int pos ) : void
SetVolume ( int volume ) : void
ShowComment ( ) : void
TogglePlay ( ) : void
Update ( ) : void

Private Methods

Method Description
CsFrame ( double time, TimeRange played, TimeRange buffer, int vpos ) : void
GetFixedPos ( double pos, long videoTime ) : double
GetFlashPlayerPath ( ) : string
GetHtml5PlayerPath ( ) : string
GetRTMPPlayerPath ( ) : string
GetSWFPlayerPath ( ) : string
InitializeComment ( ) : void
LoadCompleted ( object sender, System e ) : void

Method Details

ApplyChanges() public method

public ApplyChanges ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

HideComment() protected method

protected HideComment ( ) : void
return void

Initialize() protected method

protected Initialize ( System browser, VideoData videoData ) : void
browser System
videoData SRNicoNico.Models.NicoNicoViewer.VideoData
return void

InjectComment() protected method

protected InjectComment ( string json ) : void
json string
return void

InjectPostedComment() protected method

protected InjectPostedComment ( string json ) : void
json string
return void

InjectUploaderComment() protected method

protected InjectUploaderComment ( string json ) : void
json string
return void

InvokeScript() public method

public InvokeScript ( string func ) : void
func string
return void

Invoked() public method

public Invoked ( string cmd, string args ) : void
cmd string
args string
return void

Pause() protected method

protected Pause ( ) : void
return void

ReloadCommentAsync() public method

public ReloadCommentAsync ( ) : void
return void

Restart() protected method

protected Restart ( ) : void
return void

Resume() protected method

protected Resume ( ) : void
return void

Seek() protected method

protected Seek ( int pos ) : void
pos int
return void

SetVolume() protected method

protected SetVolume ( int volume ) : void
volume int
return void

ShowComment() protected method

protected ShowComment ( ) : void
return void

TogglePlay() protected method

protected TogglePlay ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

VideoFlashHandler() public method

public VideoFlashHandler ( VideoViewModel vm ) : System
vm VideoViewModel
return System