<!--
{
  "availability" : [
    "LivePhotosKit JS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "LivePhotosKitJS",
  "identifier" : "/documentation/LivePhotosKitJS/LivePhotosKit.Player/stop",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "LivePhotosKit JS"
    ],
    "preciseIdentifier" : "instm/LivePhotosKit.Player/stop"
  },
  "title" : "stop"
}
-->

# stop

Stops playback and rewinds to the current time of zero.

```
void stop();
```

## Discussion

After this method is called, the [`currentTime`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/currentTime) property is `0`. Like [`pause`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/pause), this causes [`wantsToPlay`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/wantsToPlay) to become `false`.

---

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)