0

roVideoPlayer Object



I can use the PlayFile and Stop() interfaces with no problem but I can seem to get the Play() to work. Am I missing something? This is my code segment...

while true
msg=wait(50, p)
if type(msg)="roTouchEvent" then
print "msg:";msg
print "x,y=";msg.GetX();msg.GetY()
if msg = 1 then v.PlayFile("1.ts")
if msg = 2 then v.PlayFile("2.ts")
if msg = 5 then v.Play()
if msg = 6 then v.Stop()
endif
End while

"5" is returned for msg.

3 comments

  • 0
    Avatar
    RokuLyndon


    The Play() used to restart playback after you used Stop(). With 3.1.73, Play() is only supported in conjunction with PreloadFile().  You can preload video file, and after 100ms, you an play it. Preloading a video will stop a current video from playing.
  • 0
    Avatar
    MustangAce


    I have loaded the HD810 with 3.1.73 and I can get it to work in the way you describe. My hope was to implement a stop/resume function.
  • 0
    Avatar
    RokuLyndon


    We don't have a pause/resume function enabled yet. We are working on it, but we don't have a released beta with that feature included yet.
Please sign in to leave a comment.