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: 
bfelts
Level 10

How to actually define EnableScreenSaverWhilePlaying(true)?

So I have an application where I'd like to have the screen saver fire up while a video is playing.

I've read of the "EnableScreenSaverWhilePlaying(true)" and I've tried to implement it different spots within the multi-live-channel example, but I can't seem to define it properly to be in effect while the video source is playing. 

There is not any usage of this function floating about in examples I've tried combing through, I just see it referenced in the docs.

Can someone try and explain where/how I'd want to properly invoke this particular function?

0 Kudos
2 Replies
RokuJonathanD
Roku Employee
Roku Employee

Re: How to actually define EnableScreenSaverWhilePlaying(true)?

 
0 Kudos
bfelts
Level 10

Re: How to actually define EnableScreenSaverWhilePlaying(true)?

Guessing that reply was an error?

 

Anyone have a suggestion or snippet of code they can throw as a reference?

 

I'm trying to get this to work in the Multi-Live-Channel example to start with.  Perhaps the way the channel code was written has something to do with why I can't properly modify the Video node to support this attribute?  Since I haven't seen it used anywhere, it's hard to tell.

 

Thanks all

0 Kudos