Skip to content

muted and autoPlay Vimeo video gets automatically paused if used doesn't interact with document on page load #2036

@fullyherge

Description

@fullyherge

A very simple repro.

1. Init ReactPlayer

<ReactPlayer
  src={url}
  autoPlay
  muted
/>

2. Load the page, don't scroll or click anywhere, note video pauses and console has below warning

Unmuting failed and the element was paused instead because the user didn't interact with the document before.

Live example

https://www.platzer.se

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions