Method | Description | |
---|---|---|
BrowserDocumentComplete ( ) : |
Document loaded - see what state we're in and react accordingly
|
|
OnAction ( string actionEnumName ) : void | ||
Pause ( ) : |
Pause button pressed
|
|
Play ( ) : |
Play button pressed
|
|
PlayVideo ( string videoToPlay ) : |
Play the specified video - try and keep the loading screen showing for as long as possible
|
Method | Description | |
---|---|---|
PerformActualLogin ( string username, string password ) : |
Do the login
|
Method | Description | |
---|---|---|
DoPlayOrPause ( ) : |
Find the play/pause button and click it
|
|
SendKeyToControl ( string keyStrokeToSend ) : void |
With the Amazon player it seems that setting it to full screen (_enableFullWindowPlaybackMode) it makes the Silverlight control always take focus This means that when space bar is pressed to pause it fires in the Silverlight control before the browser host causing a double press To get around this I've added a dummy control to the page which will take focus after every action to prevent Silverlight getting the event
|
|
SetTopMostActivate ( ) : void |
public BrowserDocumentComplete ( ) : |
||
return |
public OnAction ( string actionEnumName ) : void | ||
actionEnumName | string | |
return | void |
protected PerformActualLogin ( string username, string password ) : |
||
username | string | |
password | string | |
return |
public PlayVideo ( string videoToPlay ) : |
||
videoToPlay | string | |
return |