Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Fix mute function in FF and Safari #199

Merged
merged 9 commits into from
Jun 22, 2017

Conversation

andrebonon
Copy link
Contributor

Hi Guys,

video.setAttribute('muted', 'true'); doesn't work well on Firefox and Safari.
So instead to setAttribute(), I changed to set the property directly by video.muted = true;.

I tested on Chrome 59, Firefox 54, IE Edge, Safari (iPad and iMac) and it is working as expected.

@lincolnfrog lincolnfrog merged commit 7144d2f into googlearchive:master Jun 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants