kevinweber / lazy-load-for-videos

Speed up your site by replacing embedded Youtube and Vimeo videos with a clickable preview image. Free WordPress plugin.
http://wordpress.org/plugins/lazy-load-for-videos/
GNU General Public License v3.0
41 stars 23 forks source link

Vimeo support - aspect ratio for "reel" style #75

Open Minnn opened 1 year ago

Minnn commented 1 year ago

Hey there, is there any possibility of updating the thumbnail based on the aspect ratio of the source video? We want to embed using the portrait orientation or "reel-size" that's becoming more and more common, but with lazy load on for vimeo, it shows the standard landscape orientation thumbnail. On click it obviously loads the portrait orientation video correctly, but it'd be great if the thumbnail aspect ratio could reflect the embed aspect ratio.

Let me know if you need more info. Cheers, Min