<div class="meta" robots="noindex">

</div>

Method

# OpenURLMovie

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `Movie.OpenURL<movie.openurl>` as a replacement.

</div>

## Description

Opens a movie at the specified URL.

## Usage

*result*=**OpenURLMovie**(*URL*)

| Part   | Type                               | Description                                   |
|--------|------------------------------------|-----------------------------------------------|
| result | `Movie</api/user_interface/movie>` | Movie object                                  |
| URL    | `String</api/data_types/string>`   | URL that specifies the location of the movie. |

## Notes

OpenURLMovie is not supported on Linux.

Play movies using the `MoviePlayer</api/deprecated/movieplayer>` control.

## Sample code

The following example loads a streaming video and assigns it to the Movie property of a `MoviePlayer</api/deprecated/movieplayer>` control:

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

## Compatibility

All project types on all supported operating systems.

## See also

`MoviePlayer</api/deprecated/movieplayer>` control; `Movie</api/user_interface/movie>` classes.
