No Playback On MOV videos???

Post Reply
the_wesley_watkins
Posts: 42
Joined: Wed Jul 29, 2015 3:53 pm
My devices: Ipad
Iphone

No Playback On MOV videos???

Post 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


Operator
Posts: 138
Joined: Mon May 06, 2013 5:52 am

Re: No Playback On MOV videos???

Post 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 ...

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: No Playback On MOV videos???

Post 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
Attachments
image.png
image.png (63.66 KiB) Viewed 1468 times
The only thing that gets me down is gravity...

Post Reply