---
title: play
framework: livephotoskitjs
role: symbol
role_heading: Instance Method
path: livephotoskitjs/livephotoskit.player/play
---

# play

Starts playback if the player is ready, or resumes playback if the player is paused.

## Declaration

```data
Boolean play();
```

## Return Value

Return Value true if the player starts or resumes playback; otherwise, false.

## Discussion

Discussion If the playback completes, this method fires the ended event. If the playback is paused (and not resumed) or stopped, the ended event is not fired.

## See Also

### Instance Methods

- [beginFinishingPlaybackEarly](livephotoskitjs/livephotoskit.player/beginfinishingplaybackearly.md)
- [pause](livephotoskitjs/livephotoskit.player/pause.md)
- [stop](livephotoskitjs/livephotoskit.player/stop.md)
- [toggle](livephotoskitjs/livephotoskit.player/toggle.md)
- [updateSize](livephotoskitjs/livephotoskit.player/updatesize.md)
