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: 
RokuMarkn
Visitor

Re: Trouble With SetPreviewMode(true)

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

episode.PlayDuration = 120


--Mark
0 Kudos
yogamerge
Visitor

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