Page 1 of 1

No Playback On MOV videos???

Posted: Thu Mar 31, 2016 2:33 pm
by the_wesley_watkins
This video pops up with a play button. But I am unable to hit the play button!

Here is my code:

Code: Select all

BROWSER "Show Video" AT maxx/4,maxx/4 SIZE maxx/2, maxy/2
TEXT$ = "<video controls><source src=""IMG_0341.mov""></video>"
TEXT$ = "<html><body>"&TEXT$&"</body></html>"
BROWSER "Show Video" TEXT TEXT$
BUTTON "exitvideo" TEXT "Close" AT (maxx/2) - 25, ((maxy/4)*3) SIZE 50, 20

GOTO VIEWvideo
VIEWvideo:
IF BUTTON_PRESSED("exitvideo") = 1 THEN
	BROWSER "Show Video" DELETE
	BUTTON "exitvideo" DELETE
	' GOTO menuloop
END IF
GOTO VIEWvideo


Re: No Playback On MOV videos???

Posted: Thu Mar 31, 2016 9:56 pm
by Operator
Try this .mov
https://www.dropbox.com/s/s8tmacchbqkn9 ... s.mov?dl=0

and Google .mov iPhone/iPad it's an
Apple issue ...

Re: No Playback On MOV videos???

Posted: Thu Mar 31, 2016 10:24 pm
by rbytes
Your code seems to be missing some setup values. The variables maxx and maxy are supposed to be set to something other than zero. I gambled on setting them to screen width and screen height, and that seems to put the Play and Stop buttons around the middle of the screen. Not very well aligned, though. And the video play button doesn't seem to do anything, but that is another issue.

Code: Select all

GET SCREEN SIZE w,h
maxx=w ! maxy=h
BROWSER "Show Video" AT maxx/4,maxx/4 SIZE maxx/2, maxy/2
TEXT$ = "<video controls><source src=""IMG_0341.mov""></video>"
TEXT$ = "<html><body>"&TEXT$&"</body></html>"
BROWSER "Show Video" TEXT TEXT$
BUTTON "exitvideo" TEXT "Close" AT (maxx/2) - 25, ((maxy/4)*3) SIZE 50, 20

GOTO VIEWvideo
VIEWvideo:
IF BUTTON_PRESSED("exitvideo") = 1 THEN
   BROWSER "Show Video" DELETE
   BUTTON "exitvideo" DELETE
   ' GOTO menuloop
END IF
GOTO VIEWvideo