Amazon Prime Germany? (2 Viewers)

JSurf

Portal Pro
November 27, 2011
115
115
47
Home Country
Germany Germany
Unfortunately not. Does someone know how to get the javascript method list of a silverlight object to see what functions are available ? firebug/chrome developer can't debug the silverlight playerObject itself only the surrounding javascript
 

Jason Pyke

Portal Pro
April 12, 2013
96
38
Home Country
Great Britain (UK) Great Britain (UK)
For me (Netflix) needs to have focus on the silverlight player for kea strokes

The same is true here. The issue comes when using the space bar on the keyboard - this sends space to the Silverlight player before it sends it to the browser host and because the browser host knows nothing of this it sends space bar again (using send keys).

Does Netflix play/pause work OK when you use the space bar?
 

JSurf

Portal Pro
November 27, 2011
115
115
47
Home Country
Germany Germany
Ok i found http://www.itwriting.com/blog/3097-decompiling-silverlight.html

This is the silverlight play code:

[ScriptableMember]
public void Play()
{
if ((StaticHelper.PlaybackController.State == PlaybackController.PlaybackState.Prepared) && !PlayerParams.AutoPlay)
{
StaticHelper.PlaybackController.Play();
}
else
{
this.Prepare();
}
}

but the PlaybackState is "PrimaryContent" and the prepare method does a re-buffering
 

Jason Pyke

Portal Pro
April 12, 2013
96
38
Home Country
Great Britain (UK) Great Britain (UK)
No problems for *me* and I haven't had any reports from users.

OK, maybe the Amazon Prime player explicitly takes focus when it's made to fill the browser

@JSurf, I've just pushed a change which should fix all this - I've managed to find one of my accounts which still has a free trial and it seems to work OK for me. Basically what I've done is added an input to the Amazon player page and make sure that always has focus after an action has taken place. I've tried with the space bar key, along with "P" and the play/pause media key on my keyboard and it all seems to work. As does step back/forward.

Let me know how it goes - I'll also send a copy to you @netexplorer
 

netexplorer

MP Donator
  • Premium Supporter
  • January 21, 2009
    736
    104
    Home Country
    Germany Germany
    You did it! A short test yesterday was successful. All keys work as expected. (y)
     

    Ministerk

    Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    826
    Uppsala
    Home Country
    Sweden Sweden
    Basically what I've done is added an input to the Amazon player page and make sure that always has focus after an action has taken place.
    This might work for the ctrl+p problems some users have with Netflix. Going to check your code. Sorry for off topic.
     

    Users who are viewing this thread

    Similar threads

    • Sticky
    Software Developer C# The MediaPortal 2 team is seeking committed people to strengthen its developer basis Are you interested in driving the development of an advanced HTPC software? Would you like new features get implemented faster? Well, then join us! What we offer: Almost unlimited creative leeway The possibility to closely...
    Software Developer C# The MediaPortal 2 team is seeking committed people to strengthen its developer basis Are you interested in...
    Software Developer C# The MediaPortal 2 team is seeking committed people to strengthen its developer basis Are you interested in...
    Replies
    0
    Views
    6K
    Once I get back home, I'll try that. Thanks!
    Once I get back home, I'll try that. Thanks!
    My mini computer HTPC was doing a fine job running mediaportal, but the internal fan is starting to get very loud. I'd like to...
    Replies
    11
    Views
    1K
    Yes, all compatible with x64 ;)
    Yes, all compatible with x64 ;)
    Hi folks, for all those who would like to enjoy Mediaportal on the Titanskin, I have now adapted the well-known MP games package...
    Replies
    7
    Views
    425
    @Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is completey broken with NET4 and NET6 :( Neither an existing profile can be selected nor a new one can be created.
    @Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is...
    Description: Hi there. First of all, I appreciate all the effort in MediaPortal 2 release 2.5 - visible changes look great (eg...
    Replies
    1
    Views
    868
    The UseSSL trick made MediaPortal great again, thanks.
    The UseSSL trick made MediaPortal great again, thanks.
    Hi, Trakt has work perfectly for me for over 10 years, but for some reason this week it will not Authorize my account. I can log...
    Replies
    10
    Views
    668
    Top Bottom