Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for muted option for local videos #3408

Closed
mojavelinux opened this issue Sep 6, 2019 · 1 comment
Closed

Add support for muted option for local videos #3408

mojavelinux opened this issue Sep 6, 2019 · 1 comment
Assignees
Labels
compliance v2.0.11 Issues resolved in the 2.0.11 release
Milestone

Comments

@mojavelinux
Copy link
Member

The muted option is supported for YouTube and Vimeo, but not for local (self-hosted) video files. The muted option is necessary in order for autoplay to work.

@mojavelinux mojavelinux self-assigned this Sep 6, 2019
@mojavelinux mojavelinux added this to the v2.0.x milestone Sep 6, 2019
@mojavelinux mojavelinux added the v2.0.11 Issues resolved in the 2.0.11 release label Sep 6, 2019
@mojavelinux
Copy link
Member Author

You could even argue that if the autoplay option is set, the muted option should be automatically set since autoplay doesn't work unless muted is set.

In some browsers (e.g. Chrome 70.0) autoplay doesn't work if no muted attribute is present.

See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compliance v2.0.11 Issues resolved in the 2.0.11 release
Projects
None yet
Development

No branches or pull requests

1 participant