# BackgroundMediaPlayback

> Allows your application to continue media playback while the application is in the background.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
BackgroundMediaPlayback = 26
```

### Remarks

Enabling this option changes the behavior of media-specific APIs like the [MediaPlayer](https://docs.microsoft.com/en-us/uwp/api/Windows.Media.Playback.MediaPlayer?redirectedfrom=MSDN\&view=winrt-19041) and [AudioGraph](https://docs.microsoft.com/en-us/uwp/api/Windows.Media.Audio.AudioGraph?redirectedfrom=MSDN\&view=winrt-19041) classes to enable media playback while your application is in the background. If the application moves to the background, all active audio streams from the application continue to be audible. Additionally, the application lifetime extends while the audio plays.
