<!--
{
  "availability" : [
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKMediaPlayerControllerOptionsAutoplayKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:@WKMediaPlayerControllerOptionsAutoplayKey"
  },
  "title" : "WKMediaPlayerControllerOptionsAutoplayKey"
}
-->

# WKMediaPlayerControllerOptionsAutoplayKey

The option to play a media file automatically when it is displayed. The value of this key is an <doc://com.apple.documentation/documentation/Foundation/NSNumber> object containing a Boolean value indicating whether the media file should begin playing automatically when the interface is displayed. Playback is also contingent upon the file being available and ready to play on Apple Watch. If you do not specify this option, the user must initiate playback.

```
let WKMediaPlayerControllerOptionsAutoplayKey: String
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)