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

Re: Help with 'videoplayer' "Resume Playing" functionality

Our audio files do not "resume" where paused but begin at the beginning after clicking "resume playing". The video files "resume playing" and "Play from beginning" correctly and the resume feature disappears when the videos play until the end. Any advice on how to resolve this issue with audio files?
0 Kudos
Highlighted
Roku Employee
Roku Employee

Re: Help with 'videoplayer' "Resume Playing" functionality

I don't think it is possible to resume audio playback accurately from a specific position where it left off, except within the same session if you use the pause() and resume() method of roAudioplayer.

Best not to use bookmarking with audio.

- Joel
0 Kudos
Highlighted

Re: Help with 'videoplayer' "Resume Playing" functionality

I have an issue trying the suggestions on this thread. After trying the first suggestion.....
only highlighting
elseif msg.isRequestFailed()
print "Video request failure: "; msg.GetIndex(); " " msg.GetData()
elseif msg.isStatusMessage()
print "Video status: "; msg.GetIndex(); " " msg.GetData()
and replacing with
elseif msg.isRequestFailed()
print "Video request failure: "; msg.GetIndex(); " " msg.GetData()
RegWrite(episode.contentId, "0")
elseif msg.isFullResult()
print "Playback completed"
RegWrite(episode.contentId, "0")
elseif msg.isStatusMessage()
print "Video status: "; msg.GetIndex(); " " msg.GetData()

Im getting to error msgs...
syntax error: unexpected token "elseif", expected "end"
and
Syntax error: unexpected token "elseif", expected one of "endif", or "End"
and the resume play back button is still showing up when video ends....
ANY HELP WOULD BE APPRECIATED!
0 Kudos
mjhin
Level 7

Re: Help with 'videoplayer' "Resume Playing" functionality

"kaseyprichard" wrote:
We have built our now public app, almost entirely from the 'videoplayer' example in the SDK.

Where can I find this example app?
Can you please post a link to this "Simple Video Player" app?
I can't find it anywhere. Only people talking about it.
0 Kudos