Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tar
Visitor

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 2
TheEndless
Channel Surfer

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
Visitor

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.