hover-effect icon indicating copy to clipboard operation
hover-effect copied to clipboard

Can't use videos because of autoplay policy

Open wevdevaleksei opened this issue 6 years ago • 1 comments

Is there a possibility to add "muted" to the videos when i want to use them instead of images. It works on my localhost just fine, but because of the new policy if i upload it wont show the videos.

and i have these errors in console:

256WebGL: INVALID_VALUE: tex(Sub)Image2D: video visible size is empty 2hover-effect.umd.js:1 Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD

Maybe there is a way to overcome this?

Would appreciate any suggestions :)

wevdevaleksei avatar Oct 31 '19 20:10 wevdevaleksei

for use video you must declare: video.muted = true. because google no longer allow videos in autoplay if they are not mutated

lucrampro avatar Mar 04 '20 11:03 lucrampro

Fixed with the new version (videos are muted by default now)

robin-dela avatar Feb 23 '23 05:02 robin-dela