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: 
Highlighted
Level 7

Re: Trouble With SetPreviewMode(true)

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

episode.PlayDuration = 120


--Mark
0 Kudos
Level 7

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