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.
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.