Skip to content
This repository was archived by the owner on Nov 20, 2021. It is now read-only.
This repository was archived by the owner on Nov 20, 2021. It is now read-only.

Handle autoplay state and events correctly #124

Description

@fregante

Current incorrect behavior on autoplay videos:

  • paused is set to false immediately
  • the play event is triggered immediately

Correct behavior:

  • paused should be set to true after the canplay event
  • canplay, play, and playing should be fired at the same time

Source: https://www.w3.org/TR/html5/embedded-content-0.html#handling-first-frame-available

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions