Exiting Browser Widget
prothero at earthednet.org
Thu Jun 2 09:48:56 EDT 2016
In case this is what you are wanting, you can load a youTube video by using the embed code provided by youTube. For example, if you click “share” beneath the youTube video, as displayed on youTube.com, you will see a button you can click on named “Embed”. This is the code you put into a web page to display the video.
For one video, I get:
<iframe width="420" height="315" src="https://www.youtube.com/embed/KIOVw43A-I4" frameborder="0" allowfullscreen></iframe>
Hope this is useful.
> On Jun 1, 2016, at 11:25 PM, Sannyasin Brahmanathaswami <brahma at hindu.org> wrote:
> 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:
> 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