Roku Community
Sign In
Help
Browse
Browse
Streaming Players
Roku setup
Features, settings & updates
Wi-Fi & connectivity
Channels & viewing
Solving playback issues
Remotes
Roku mobile app
Roku legacy products
Roku TV
Manufacturer support & warranty resources
Discussions
Roku Audio
Discussions
Roku Smart Home
Using your smart home devices
Cameras & doorbells
Lights & power
Smart home app
Roku Pay
Account, payments & subscriptions
Community
Community discussions
Welcome to the Roku Community
Announcements
Developers
Roku Developer Program
Roku Direct Publisher
Roku TV Ready Certification Program
Independent Developer Kit
Roku Developer Program
Developers and content creators—a complete solution for growing an audience directly.
All community
This category
This board
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Roku Community
:
Developers
:
Roku Developer Program
:
Trouble With SetPreviewMode(true)
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
All Topics
Previous Topic
Next Topic
RokuMarkn
Level 9
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
07-01-2014
05:20 PM
Re: Trouble With SetPreviewMode(true)
PlayDuration is a variable, not a function. You would set it like this:
episode.PlayDuration = 120
--Mark
0
Kudos
Reply
yogamerge
Level 7
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
07-01-2014
07:48 PM
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
Reply
«
Previous
1
2
Next
»
Trending Discussions
Channel Behavior Analysis timing out with no log
Roku account credentials changed and apps disappeared
Revenue payments by Country
Labels
Android
1
Audio
1
Channel content question
2
Channel feature-functionality
2
iOS
1
Play on Roku
2