Auto-looping MP4s instead of GIFs
Converting classic GIF files to auto-looping MP4 videos is web- and mobile-friendly approach, pioneered by Gfycat, Imgur and Twitter.
Iframely does the same. Here’s why:
Iframely MP4, 416Kb
Original GIF, 3.1Mb
MP4 version is much smaller. Plus, on mobile devices, our smart iFrames won’t load the video at all until the user clicks to play it. This saves user bandwidth and speeds up your mobile site.
How to activate
Iframely converts direct GIF links to MP4s automatically as long as you allow iFrames in your API settings. It is an HTML option.
rel array in Iframely API format will include
gifv value in that case.
You can make GIFs not to load until user clicks to play them. Just activate click-to-play in your API settings.
It is default behaviour of converted GIFs on mobile devices. For example,