HTML <audio> disableremoteplayback Attribute
Page is not completed.
Experimental.
Example
<audio controls disableremoteplayback>
<source src="cat.mp3" type="audio/mpeg">
<source src="cat.ogg" type="audio/ogg">
Your browser does not support the audio tag.
</audio>
Meaning
disableremoteplayback attribute used to disable the capability of remote playback in devices that are attached using wired HDMI, DVI, etc. and wireless technologies Miracast, Chromecast, DLNA, AirPlay, etc.
Note: In Safari, you can use x-webkit-airplay="deny" as a fallback.
Standard Syntax
<audio disableremoteplayback>
<source src="Source(URL)" type="mediaType">
Your browser does not support the audio tag.
</audio>
Advertisement
Attribute Values
| Value | Description |
|---|---|
| disableremoteplayback | This is a boolean attribute, the presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value. |