OpenURLMovie

From Xojo Documentation

Method


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 loads a streaming video and assigns it to the Movie property of a MoviePlayer control:

MoviePlayer1.Movie = OpenURLMovie("http://www.apple.com/trailers/miramax/frida.html")

Note: Apple, Inc. may remove this movie at their discretion. It is included here only to illustrate the function's syntax.

See Also

MoviePlayer control; Movie classes.