# PRIM_MEDIA_AUTO_PLAY

*LSL constant*

```lsl
integer PRIM_MEDIA_AUTO_PLAY = 5;
```

Boolean. Gets or sets whether media auto-plays when a resident is able to view it.

Constant groups: [PrimMediaParam](/constants/groups/PrimMediaParam/)

---

*Source: [PRIM MEDIA AUTO PLAY](https://wiki.secondlife.com/wiki/PRIM_MEDIA_AUTO_PLAY) on the Second Life Wiki. Content from the Second Life Wiki article PRIM MEDIA AUTO PLAY (revision 1185556, 2013-12-23), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/PRIM_MEDIA_AUTO_PLAY/
