dimsemenov / PhotoSwipe

JavaScript image gallery for mobile and desktop, modular, framework independent
http://photoswipe.com
MIT License
24.18k stars 3.31k forks source link

Can't get video to play inside PhotoSwipe on Chrome Mobile #1538

Open nhinze opened 6 years ago

nhinze commented 6 years ago

I have an HTML5 Video inside a PhotoSwipe. The video cannot be started in Chrome Mobile 67. However, it works fine on Chrome Mobile 61.

The issue can be reproduced on an actual Android device with Chrome 67 or using Chrome 67 desktop with the device emulator in the dev tools.

Go to: https://en.mycoursewalkcde.com/coursewalks/13143/fences

Click on the "film" icon of "Obstacle 3".

Try to start the video. It won't play.

Any ideas?

acwolff commented 6 years ago

Did you see this: https://developers.google.com/web/updates/2017/09/chrome-62-media-updates

nhinze commented 6 years ago

I saw this and the other changes to autoplay and so on. However, I do not autoplay the video. Also, if I put the same video tag outside of PhotoSwipe it will run fine on Chrome Mobile. Maybe I do not understand how this applies to this case. I do not get any errors in the console.