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: 

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
RokuJoel
Binge Watcher

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

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
Visitor

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.