Pranav shared this amazing hack to improve your page load speed.
Tip of the day
Don’t use GIFs on product page, convert your GIFs into MP4’s and embed them in your description with auto looping (can find the code online) Your page load speed will thank you.
Here’s the code:
<video controls=”” autoplay=”” muted=”” loop=”” playsinline=”” poster=”TAKE SCREENSHOT OF FIRST FRAME AND PUT LINK HERE” width=”350″> <source src=”VIDEOLINKHERE#t=0.01″ type=”video/mp4″> </video>
Keep changing width number if vid sizing is off.
On TikTok browser it’s not going to autoplay, it will show first frame with play button.
Worth it when you’re saving 10+ MB on page load.
Facebook has always been fine for me.