mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +00:00
LibWeb: Fix a couple of HTMLMediaElement spec links
This commit is contained in:
parent
4aaefeb1d5
commit
c08755836d
1 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ void HTMLMediaElement::set_current_time(double current_time)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/media.html#time-marches-on#playing-the-media-resource:current-playback-position-13
|
// https://html.spec.whatwg.org/multipage/media.html#playing-the-media-resource:current-playback-position-13
|
||||||
void HTMLMediaElement::set_current_playback_position(double playback_position)
|
void HTMLMediaElement::set_current_playback_position(double playback_position)
|
||||||
{
|
{
|
||||||
// When the current playback position of a media element changes (e.g. due to playback or seeking), the user agent must
|
// When the current playback position of a media element changes (e.g. due to playback or seeking), the user agent must
|
||||||
|
@ -164,7 +164,7 @@ void HTMLMediaElement::set_current_playback_position(double playback_position)
|
||||||
// FIXME: Regarding the official playback position, the spec states:
|
// FIXME: Regarding the official playback position, the spec states:
|
||||||
//
|
//
|
||||||
// Any time the user agent provides a stable state, the official playback position must be set to the current playback position.
|
// Any time the user agent provides a stable state, the official playback position must be set to the current playback position.
|
||||||
// https://html.spec.whatwg.org/multipage/media.html#time-marches-on#playing-the-media-resource:official-playback-position-2
|
// https://html.spec.whatwg.org/multipage/media.html#playing-the-media-resource:official-playback-position-2
|
||||||
//
|
//
|
||||||
// We do not currently have a means to track a "stable state", so for now, keep the official playback position
|
// We do not currently have a means to track a "stable state", so for now, keep the official playback position
|
||||||
// in sync with the current playback position.
|
// in sync with the current playback position.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue