Skip to content

Commit 23dc2e9

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 333a016 commit 23dc2e9

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
@@ -39610,8 +39610,9 @@ interface <dfn interface>MediaError</dfn> {
3961039610

3961139611
<li><p>The <span>direction of playback</span> is forwards, and</p></li>
3961239612

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

3961739618
<p>Or:</p>

0 commit comments

Comments
 (0)