UserGuide

Web YouTube Movie

From Xojo Documentation

he YouTube Movie controls provides a simple way of displaying a YouTube movie. You provide the URL to the YouTube movie in the Inspector.

fa-exclamation-circle-32.png
The URL must be the long YouTube URL and not the short "sharing" link.

The control displays the standard movie controller for your platform, so you don’t need to manage the other aspects of the user interface in any way.

The URL property is the primary property you'll use with this control. For the complete list of events, properties and methods refer to WebYouTubeMovie in the Language Reference.

Properties

URL

Set this to the URL of the YouTube movie that you want to play. This must be the long YouTube URL and not the short "sharing" link.

Usage

This displays a Xojo webinar in the a WebYouTubeMovie control:

YouTubeMovie1.URL = "https://www.youtube.com/watch?v=viBEzlA6XGk"

See Also

WebYouTubeMovie class; UserGuide:Web UI, UserGuide:Web Movie Player topics