Amazon Prime Germany? (2 Viewers)

JSurf

Portal Pro
November 27, 2011
115
115
48
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
48
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
    743
    105
    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

    Actually I solved this myself. I did have the correct driver (it was the only one which would work). But on the drivers download page, there was an additional item called "TBS6281se V2 Change Mode Tool". There was zero documentation to accompany this. I downloaded it and ran it. It is a tool to detect the current run state of both...
    Actually I solved this myself. I did have the correct driver (it was the only one which would work). But on the drivers download...
    My previous TBS PCI-E card failed, so I bought another one. The model I chose is the TBS 6181-SE, which can be seen on Amazon here...
    Replies
    2
    Views
    1K
    4.5 is really old. I'm not sure 4.5.5 even is a version that actually existed. You should be able to install .NET Framework 4.8.0 on Windows 7 SP1
    4.5 is really old. I'm not sure 4.5.5 even is a version that actually existed. You should be able to install .NET Framework 4.8.0...
    My TV PC is more a cast-off on older hardware (a 'Quiet PC' i5 4690, 16GB ram, 2xSSD 1xHDD, system graphics), mainly as a cheap way...
    Replies
    5
    Views
    2K
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For the first example, I highlighted the example text and eventually found the location in the menus where I could select the CODE macro to have the example text formatted as a code example. So far, so good...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    Replies
    0
    Views
    533
    • 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
    7K
    I think 1.38 is easier, it's a minor addition, judging by the lack of bugs, 1.39 is still a long way off. Ideally, the TuningParameters settings would be moved to MPE1, along with all the skins. Then any minor fixes could be updated quickly.
    I think 1.38 is easier, it's a minor addition, judging by the lack of bugs, 1.39 is still a long way off. Ideally, the...
    Hello and good morning, atm I´m gonna try to install my new MP2 Server with a hybrid solution DVB-T2 and MagentaTV. For DVB-T2 I...
    Replies
    9
    Views
    3K
    Top Bottom