Forum Discussion

jedashford's avatar
jedashford
Channel Surfer
9 years ago

Can I play two SceneGraph Video noes at once?

I'm attempting a picture in picture for ending credits, similar to what Netflix does at the end of a show. I need to shrink the player, pause it, then start another stream behind it fullscreen. I never need both playing, but would like to keep the paused video viewable. 

Every time I attempt this I get an error when trying to play the second stream.
STATE error
position:  0 
errorCode:  0
errorMsg: failed to create media player

If I stop the first video player, then the second works fine, but if I pause, or continue to run the first player, then I still get the above error.

I can't find any documentation that states only one video node can play at once:
https://sdkdocs.roku.com/display/sdkdoc/Video

Any ideas if this is possible or any other way to get a picture in picture?

3 Replies

  • "jedashford" wrote:
    I can't find any documentation that states only one video node can play at once:

    Of course not, that's Apocrypha :twisted:
    Search the forum, i remember it here somewhere being said There Can Be Only One

    Does Netflix genuinely show 2 videos going in parallel PiP, remind me?
  • jedashford's avatar
    jedashford
    Channel Surfer
    No, they don't have two streams at once, just shrink the credits with some selectable posters on the bottom of the page. Kinda disappointed I cant pause or even stop (but keep the player on screen) while playing another stream.