---
title: "setLivePhotoVideoPlaybackEnabled(_:)"
framework: photos
role: symbol
role_heading: Instance Method
path: "photos/phassetchangerequest/setlivephotovideoplaybackenabled(_:)"
---

# setLivePhotoVideoPlaybackEnabled(_:)

Disable or enable the video part of a Live Photo so it just appears as a still image (disabled) or a Live Photo (enabled)

## Declaration

```swift
func setLivePhotoVideoPlaybackEnabled(_ enabled: Bool)
```

## Discussion

Discussion Applies to Live Photos only.
