Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
jedashford
Level 7

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?
0 Kudos
3 Replies
EnTerr
Level 8

Re: Can I play two SceneGraph Video noes at once?

"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?
0 Kudos
jedashford
Level 7

Re: Can I play two SceneGraph Video noes at once?

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.
0 Kudos
jedashford
Level 7

Re: Can I play two SceneGraph Video noes at once?

I found the other thread. It was a side tangent question: https://forums.roku.com/viewtopic.php?f=34&t=88621&p=519454&hilit=scene+graph+video+two#p519454

Looks like the answer is no.

Additionally, looks like you cannot even keep two video nodes on the screen at once. One must be fully stopped. And by stopped, its completely removed from the UI.
0 Kudos