Skip to content

Commit 54fe603

Browse files
committed
Consider media element playback ended after the loop attribute is set
Before this change, allowing playback to end, then subsequently setting the loop attribute to true, would result in the ended attribute being false, and playback not restarting when the play steps are run. Fixes #11775
1 parent e31b45b commit 54fe603

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39612,8 +39612,9 @@ interface <dfn interface>MediaError</dfn> {
3961239612

3961339613
<li><p>The <span>direction of playback</span> is forwards, and</p></li>
3961439614

39615-
<li><p>The <span>media element</span> does not have a <code
39616-
data-x="attr-media-loop">loop</code> attribute specified.</p></li>
39615+
<li><p>The <span>media element</span> did not have a <code
39616+
data-x="attr-media-loop">loop</code> attribute specified the last time that playback
39617+
<a href="#reaches-the-end">reached the end of the media resource</a>.</p></li>
3961739618
</ul>
3961839619

3961939620
<p>Or:</p>

0 commit comments

Comments
 (0)