Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ionatan
Level 8

splash_min_time not working

I am trying to force splash screen to be displayed for about 5 seconds.

I've set splash_min_time to 5000, but splash screen disappear about after 1-2 seconds. Is there a way to force splash screen to be displayed for 5 seconds?

0 Kudos
1 REPLY 1
renojim
Community Streaming Expert

Re: splash_min_time not working

There's clearly a bug with splash_min_time on certain models of Roku devices.  What's the model number of the one you're using?  You can try reporting the bug to Partner Success, but I've given up on them and won't bother reporting any bugs ever again.  It's much easier and less aggravating to just find a workaround.  In this case, try a sleep() before showing your first screen or better yet use GetUpTime() to adjust how much you should sleep before launching your first screen if you want it to be consistent across the devices that have the bug and those that don't.  I think GetUpTime() is affected by splash_min_time on devices where it works, but I'm not sure.

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos