Movie.OpenURL

From Xojo Documentation

Method

OpenURLMovie(URL as String)

New in 2019r2

Supported on Desktop (Mac, Windows).

Opens a movie at the specified URL.

Syntax

result=OpenURLMovie(URL)

Part Type Description
result Movie Movie object
URL String URL that specifies the location of the movie.

Notes

OpenURLMovie is not supported on Linux.

Play movies using the MoviePlayer control.

Examples

The following example plays a movie from a URL:

MoviePlayer1.Movie = Movie.OpenURL("https://www.radiantmediaplayer.com/media/bbb-360p.mp4")
MoviePlayer1.Play

Note: The movie URL may change at any time by the owner and is included here only to illustrate syntax.

See Also

MoviePlayer control; Movie classes.