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: 
bfelts
Streaming Star

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 2
RokuJonathanD
Community Moderator
Community Moderator

Re: How to actually define EnableScreenSaverWhilePlaying(true)?

 
0 Kudos
bfelts
Streaming Star

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
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.