Skip to content

Commit

Permalink
Merge pull request #54 from w3c/avayvod-patch-1
Browse files Browse the repository at this point in the history
Clear the set of availability callbacks...
  • Loading branch information
avayvod committed Oct 18, 2016
2 parents d282f88 + 2094e7b commit 4c13215
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions index.html
Expand Up @@ -1095,10 +1095,18 @@ <h2>Disabling remote playback</h2>
remotely or present any UI to do so.
</p>
<p>
When the <a for='HTMLMediaElement'>disableRemotePlayback</a> attribute is added to the <a>media element</a> and
its <a for="RemotePlayback">state</a> is not <code>disconnected</code>, the user agent MUST run the
<a>disconnect from remote playback device</a> algorithm for the <a>remote playback device</a> the media
element is connected or connecting to.
When the <a for='HTMLMediaElement'>disableRemotePlayback</a> attribute is added to the <a>media element</a>,
the user agent MUST do the following:
<ol>
<li>
Clear the <a>set of availability callbacks</a> for the media element.
</li>
<li>
If its <a for="RemotePlayback">state</a> is not <code>disconnected</code>, run the
<a>disconnect from remote playback device</a> algorithm for the <a>remote playback device</a>
the media element is connected or connecting to.
</li>
</ol>
</p>
</section>
</section>
Expand Down

0 comments on commit 4c13215

Please sign in to comment.