Hi,
I am using blazy with a media switcher like slick_lightbox or blazy_photoswipe.
When we use some remote videos added with core media to be displayed with one of these "media switchers", these videos start playing (autoplay) on the "overview" thumbnail page.
When I check on the "image to iframe" media switcher, there is a button (class media__icon--play) which has a data-url component. The video starts playing when the button is pushed.
For the media switchers I use, there is an iframe (see screenshot) rendered (with autoplay on) and the videos start playing automatically when the page is loaded.
When you have let's say 4 videos next to eachother, this gets messy. I guess the videos only need to start playing when loaded in the photoswipe or slick lightbox.
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| iframe_blazy_photoswipe.png | 62.53 KB | timlie |
Comments
Comment #2
gausarts commentedYou are right. It was a regression due to massive optimization at 2.0, and fixed in dev.
Please try DEV, and let me know.
Comment #3
timlie commentedHi Gausarts, thanks for the tremendous work!
Is indeed fixed in dev!
Comment #4
gausarts commentedThanks for the confirm.
I was too excited and too confident last time knowing that I had been able to improve the loading speed of remote videos, faster even than simpler lazy load approaches with tons of videos. I missed rechecking this particular lightbox issue you brought up till too late.
And anything with too is not good in my local wisdom.
Still need to attend 2-4 more open issues before another confidence to release one :).
Comment #5
gausarts commentedThis should be outdated, but let's keep it lingering around for a while to avoid dups, by now.