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