Exiting Browser Widget

Sannyasin Brahmanathaswami brahma at hindu.org
Thu Jun 2 02:25:07 EDT 2016

When we are in Safari or Firefox on an iPHone, if you play a YouTube video, the phone switches to full screen  video player and has a "Done" link at the top with the controller. 

I'm not sure exactly what is happening there,  but this appears to be the way users expect to be able to exit a video.

Is there a way to get this behavior in the browser widget when it is assigned a YouTube URL? 

On 5/26/16, 5:26 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" <use-livecode-bounces at lists.runrev.com on behalf of brahma at hindu.org> wrote:

>Use Case:  Video Viewer (YouTube) "full screen" on mobile devices
>1) set up a landscape card  736w X 414h (16X9)
>2) place a browser widget there that takes the entire screen
>3) when navigating to this card, we dynamically set a YouTube URL to fill the widget/card
>So far, so good, tested and it works
>Is there a way to trigger an option to exit and return to previous card or to a menu etc.
>without  shrinking the video -- so as to give us some toolbar space at the top or bottom?
>I guess the question becomes simply:
>how does one trap and pass the mouse down on the browser widget back the LC msg hierarchy?
>ideally this behavior could be trigger when the user clicks the play or pause control inside the YouTubeVideo itself.
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list