HTML Attributes

HTML playsinline attribute

Hints that video should play within its element rather than automatically entering a dedicated fullscreen presentation. Browser behavior can vary. Applicable elements include: <video>. Check each element’s value rules. Boolean syntax: presence enables the state; omit the attribute to disable it. A string value of "false" does not turn it off. Example uses illustrative URLs or local assets; provide the corresponding files or application endpoints when running it.

Formal Syntax & Structure

html syntaxhtml
playsinline

Parameters & Attributes

NameTypeDescription
playsinlinebooleanHints that video should play within its element rather than automatically entering a dedicated fullscreen presentation. Browser behavior can vary.

Working Example

Example Snippethtml
<video src="clip.mp4" controls playsinline></video>
HTML Reference