# MoviePlayer

Xojo provides a <span class="title-ref">MoviePlayer</span> control for desktop, mobile and web projects:

- `DesktopMoviePlayer</api/user_interface/desktop/desktopmovieplayer>`
- `MobileMoviePlayer</api/user_interface/mobile/mobilemovieplayer>`
- `WebMoviePlayer</api/user_interface/web/webmovieplayer>`

## Common members

These events, methods and properties are both common amongst the desktop, mobile and web versions of the control and are the most commonly used. See the individual controls for more members and details.

### Events

| Name            | Description                         |
|-----------------|-------------------------------------|
| PlaybackStarted | The movie has started playing.      |
| PlaybackPaused  | The movie playback has been paused. |

### Methods

| Name | Description      |
|------|------------------|
| Play | Plays the movie. |

### Properties

| Name     | Description                           |
|----------|---------------------------------------|
| Duration | The length of the movie.              |
| Movie    | The actual movie to be played.        |
| Volume   | The current audio level of the movie. |

<div class="seealso">

`DesktopMoviePlayer</api/user_interface/desktop/desktopmovieplayer>`, `MobileMoviePlayer</api/user_interface/mobile/mobilemovieplayer>` and `WebMoviePlayer</api/user_interface/web/webmovieplayer>`

</div>
