KEMBAR78
Wait for media playback to really start before firing the playing event · Issue #309 · whatwg/html · GitHub
Skip to content

Wait for media playback to really start before firing the playing event #309

@foolip

Description

@foolip

This is based on a Chromium issue.

The way the spec is written, the playing event that is fired as part of the play() method is queued synchronously, which means that the play command may not even have reached the media framework yet. This means that when the playing event is fired, there's no guarantee that media playback is really progressing.

Ideally, the event should be fired while the currentTime is still the same as when play() was called, but where it will have increased after any setTimeout or requestAnimationFrame callback.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions