Represents an object that renders audio and video to the display.

### Remarks

The MediaElement control is commonly used to display video streams from IP Cameras.

### Properties

| Property                        | Type   | Description                                                                                                           |
| ------------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------- |
| `Stretch`                      | Enum   | A value that describes how the video should be stretched to fill the destination rectangle. Possible values are `Fill`, `Uniform`, & `UniformToFill`. |
| `AreTransportControlsEnabled`   | Boolean| A value that determines whether the standard transport controls are enabled.                                          |
| `AutoPlay`                     | Boolean| A value that indicates whether media will begin playback automatically when the Source property is set.                |
| `IsLooping`                    | Boolean| A value that describes whether the media source currently loaded in the media engine should automatically set the position to the media start after reaching its end. |
| `IsMuted`                      | Boolean| A value indicating whether the audio is muted.                                                                        |
| `Source`                       | Object | The source of the media. Can be either a stream or URL.                                                             |
| `Height`                       | Float  | The suggested height of the control in dp pixels.                                                                   |
| `HorizontalAlignment`          | Enum   | The horizontal alignment characteristics that are applied to the control when it is composed in a parent layout panel, such as a Grid. |
| `Margin`                       | Thickness| The outer margin that is applied to the control when it is composed in a parent layout panel, such as a Grid.      |
| `Rotation`                     | Integer| The rotation about the Z-axis in degrees.                                                                           |
| `VerticalAlignment`            | Enum   | The vertical alignment characteristics that are applied to the control when it is composed in a parent layout panel, such as a Grid. |
| `Width`                        | Float  | The suggested width of the control in dp pixels.                                                                    |
| `IsEnabled`                    | Boolean| A value that indicates whether the user can interact with the control.                                               |
| `IsHitTestVisible`             | Boolean| A value that indicates whether the contained area of the control can return true values for hit testing.               |
| `IsVisible`                    | Boolean| A value that indicates whether the control should be visible.                                                        |
| `Opacity`                      | Float  | A value between 0 and 1.0 that declares the opacity factor, with 1.0 meaning full opacity and 0 meaning transparent. |

### Events

| Event     | Description                                                                                  |
| --------- | -------------------------------------------------------------------------------------------- |
| `Loaded`  | Occurs when the element is laid out, rendered, and ready for interaction.                   |
| `Unloaded`| Occurs when the element is no longer rendered on the screen.
