@@ -1061,18 +1061,11 @@ <h4 id="finishing-a-player-section">Finishing a player</h4>
1061
1061
handle that here.
1062
1062
</ div >
1063
1063
1064
- 4. Set < var > player</ var > 's < a > pause flag</ a > to false.
1065
-
1066
- < div class ="annotation ">
1067
- This is needed so that < var > player</ var > ends up in the
1068
- < a > finished play state</ a > , not the < a > paused play state</ a > .
1069
- </ div >
1070
-
1071
- 5. If there is a < a > pending play task</ a > , cancel that task and
1064
+ 4. If there is a < a > pending play task</ a > , cancel that task and
1072
1065
fulfill the < a > current ready promise</ a > of < var > player</ var > with
1073
1066
< var > player</ var > .
1074
1067
1075
- 6 . If < var > player</ var > has an associated < a > timeline</ a > that is
1068
+ 5 . If < var > player</ var > has an associated < a > timeline</ a > that is
1076
1069
< em > not</ em > < a title ="inactive timeline "> inactive</ a > , update
1077
1070
< var > player</ var > 's < a title ="player start time "> start time</ a > to
1078
1071
the result of evaluating
@@ -1081,9 +1074,14 @@ <h4 id="finishing-a-player-section">Finishing a player</h4>
1081
1074
where < var > timeline time</ var > is the current < a > time value</ a >
1082
1075
of the associated < a > timeline</ a > .
1083
1076
1084
- 7 . Run the procedure to < a > update a player's finished state</ a >
1077
+ 6 . Run the procedure to < a > update a player's finished state</ a >
1085
1078
for < var > player</ var > .
1086
1079
1080
+ Note: Finishing a player does not necessarily cause that player
1081
+ to enter the < a > finished play state</ a > . In particular, if a player was in the
1082
+ < a > paused play state</ a > before finishing, it will remain in the
1083
+ < a > paused play state</ a > afterwards.
1084
+
1087
1085
< h4 id ='cancelling-a-player-section '> Cancelling a player</ h4 >
1088
1086
1089
1087
A player can be cancelled which causes the < a > current time</ a > to
@@ -7494,6 +7492,8 @@ <h2 id="changes-since-last-publication">Changes since last publication</h2>
7494
7492
* Removed the non-normative description of seeking behavior.
7495
7493
* Added the < a > current finished promise</ a > and < a > current ready
7496
7494
promise</ a > objects to < a > players</ a > .
7495
+ * Modified the procedure to < a > finish a player</ a > so that pause
7496
+ state is not changed by finishing.
7497
7497
* Added player < a > play states</ a > .
7498
7498
* Removed player events.
7499
7499
* Rewrote most of the algorithms for < a > players</ a > to accommodate
0 commit comments