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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Trouble With SetPreviewMode(true)

PlayDuration is a variable, not a function. You would set it like this:

episode.PlayDuration = 120

0 Kudos

Re: Trouble With SetPreviewMode(true)

Thanks, that got it to work. After seeing it in action, I think specific preview videos would be best, as I could just play the entire video 2 minutes at a time using PlayDuration
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.