I am in the process of building a Free Preview Channel that will upgrade to my current published Pay Channel. I want to use the SetPreviewMode in order to have the Free Preview channel play the first 2 minutes of each video, but I can't seem to get it to work, I read where others had the same issue. Below is my videoscreen.brs Any help would be appreciated. Hoping that I am just missing something simple. Thanks!
Function showVideoScreen(episode As Object)
if type(episode) <> "roAssociativeArray" then print "invalid data passed to showVideoScreen" return -1 endif
no, episode.PlayDuration(120) since it's metadata for the episode. I wouldn't use this for a commercial project though, as users can fast forward/rewind through the entire file and watch minutes at a time. It's better to use a different video that is 2 minutes long if you need a 2 minute 'preview'.
Thanks, that's good advice. Originally, I was planning on using my already existing preview videos, but thought I would save the server space and avoid the extra xml work, but I had no idea that you could fast forward thru the video with the SetPreviewMode, thanks much
EnableTrickPlay doesn't work on firmware <4.9 - so first gen devices would crash if you tried to use it. (have to check firmware) I did notice first gen devices did get a new firmware update to add the username/password for the dev access screen (3.1). Never got an answer to what other changes were made though.