Movie.OpenURL
From Xojo Documentation
Method
This method is only available on macOS and Windows platforms. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
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 = 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.