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: 
tar
Level 7

SG API: Previous Poster image disappears when new uri set

How to avoid image disappearing when new uri set for Poster node?

Steps:
1. Have a poster node and set it's uri to image1
2. set Poster uri to image2 -> image1 disappears until image2 loaded

How to make image1 persist until image2 loaded?
0 Kudos
2 Replies
TheEndless
Level 7

Re: SG API: Previous Poster image disappears when new uri set

The only way to do that would be to use two Poster nodes in the same location and hide the inactive Poster node when the status of the active Poster node indicates that the image has loaded.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
tar
Level 7

Re: SG API: Previous Poster image disappears when new uri set

Thanks TheEndless.
Bad news for me. I hope there will be a flag like "discardsOldImageWhenLoading = false" in a future, because if it was made for a memory efficiency reason then it does not matter if you are using one poster node or two.
0 Kudos