{"id":174,"date":"2022-03-31T18:54:29","date_gmt":"2022-03-31T13:24:29","guid":{"rendered":"https:\/\/super-ali.com\/blog\/?p=174"},"modified":"2022-03-31T18:54:30","modified_gmt":"2022-03-31T13:24:30","slug":"code-stop-using-gifs-on-product-page-and-use-this","status":"publish","type":"post","link":"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/","title":{"rendered":"[CODE] Stop using GIFs on product page and use this"},"content":{"rendered":"\n<p>Pranav shared this amazing hack to improve your page load speed.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-twitter wp-block-embed-twitter\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"en\" dir=\"ltr\">Tip of the day<br><br>Don&#39;t use GIFs on product page, convert your GIFs into MP4&#39;s and embed them in your description with auto looping (can find the code online)<br><br>Your page load speed will thank you<\/p>&mdash; Pranav (@pr6nav) <a href=\"https:\/\/twitter.com\/pr6nav\/status\/1508811318576525316?ref_src=twsrc%5Etfw\">March 29, 2022<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div><\/figure>\n\n\n\n<h2>Tip of the day <\/h2>\n\n\n\n<p>Don&#8217;t use GIFs on product page, convert your GIFs into MP4&#8217;s and embed them in your description with auto looping (can find the code online) Your page load speed will thank you.<\/p>\n\n\n\n<p>Here&#8217;s the code: <\/p>\n\n\n\n<p>&lt;video controls=&#8221;&#8221; autoplay=&#8221;&#8221; muted=&#8221;&#8221; loop=&#8221;&#8221; playsinline=&#8221;&#8221; poster=&#8221;TAKE SCREENSHOT OF FIRST FRAME AND PUT LINK HERE&#8221; width=&#8221;350&#8243;> &lt;source src=&#8221;VIDEOLINKHERE#t=0.01&#8243; type=&#8221;video\/mp4&#8243;> &lt;\/video><\/p>\n\n\n\n<p>Keep changing width number if vid sizing is off.<\/p>\n\n\n\n<p>On TikTok browser it&#8217;s not going to autoplay, it will show first frame with play button. <\/p>\n\n\n\n<p>Worth it when you&#8217;re saving 10+ MB on page load. <\/p>\n\n\n\n<p>Facebook has always been fine for me.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pranav shared this amazing hack to improve your page load speed. Tip of the day Don&#8217;t use GIFs on product page, convert your GIFs into MP4&#8217;s and embed them in your description with auto looping (can find the code online) Your page load speed will thank you. Here&#8217;s the code: &lt;video controls=&#8221;&#8221; autoplay=&#8221;&#8221; muted=&#8221;&#8221; loop=&#8221;&#8221;&hellip; <a class=\"more-link\" href=\"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/\">Continue reading <span class=\"screen-reader-text\">[CODE] Stop using GIFs on product page and use this<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[CODE] Stop using GIFs on product page and use this - Super-Ali Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[CODE] Stop using GIFs on product page and use this - Super-Ali Blog\" \/>\n<meta property=\"og:description\" content=\"Pranav shared this amazing hack to improve your page load speed. Tip of the day Don&#8217;t use GIFs on product page, convert your GIFs into MP4&#8217;s and embed them in your description with auto looping (can find the code online) Your page load speed will thank you. Here&#8217;s the code: &lt;video controls=&#8221;&#8221; autoplay=&#8221;&#8221; muted=&#8221;&#8221; loop=&#8221;&#8221;&hellip; Continue reading [CODE] Stop using GIFs on product page and use this\" \/>\n<meta property=\"og:url\" content=\"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/\" \/>\n<meta property=\"og:site_name\" content=\"Super-Ali Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/superalicom\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-31T13:24:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-31T13:24:30+00:00\" \/>\n<meta name=\"author\" content=\"Honey\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@superalicom\" \/>\n<meta name=\"twitter:site\" content=\"@superalicom\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Honey\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/\"},\"author\":{\"name\":\"Honey\",\"@id\":\"https:\/\/super-ali.com\/blog\/#\/schema\/person\/702e9cc913f71eafa71986a1524bec69\"},\"headline\":\"[CODE] Stop using GIFs on product page and use this\",\"datePublished\":\"2022-03-31T13:24:29+00:00\",\"dateModified\":\"2022-03-31T13:24:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/\"},\"wordCount\":136,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/super-ali.com\/blog\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/\",\"url\":\"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/\",\"name\":\"[CODE] Stop using GIFs on product page and use this - Super-Ali Blog\",\"isPartOf\":{\"@id\":\"https:\/\/super-ali.com\/blog\/#website\"},\"datePublished\":\"2022-03-31T13:24:29+00:00\",\"dateModified\":\"2022-03-31T13:24:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/super-ali.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[CODE] Stop using GIFs on product page and use this\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/super-ali.com\/blog\/#website\",\"url\":\"https:\/\/super-ali.com\/blog\/\",\"name\":\"Super-Ali Blog\",\"description\":\"Find trending products before spy tools\",\"publisher\":{\"@id\":\"https:\/\/super-ali.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/super-ali.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/super-ali.com\/blog\/#organization\",\"name\":\"Super-Ali\",\"url\":\"https:\/\/super-ali.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/super-ali.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/super-ali.com\/blog\/wp-content\/uploads\/2021\/07\/Super-Ali-Logo-A.jpg\",\"contentUrl\":\"http:\/\/super-ali.com\/blog\/wp-content\/uploads\/2021\/07\/Super-Ali-Logo-A.jpg\",\"width\":2000,\"height\":2000,\"caption\":\"Super-Ali\"},\"image\":{\"@id\":\"https:\/\/super-ali.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/superalicom\/\",\"https:\/\/twitter.com\/superalicom\",\"https:\/\/www.instagram.com\/superaliofficial\",\"https:\/\/www.youtube.com\/channel\/UCqeqAScuYO5MmU0t2wsZUHg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/super-ali.com\/blog\/#\/schema\/person\/702e9cc913f71eafa71986a1524bec69\",\"name\":\"Honey\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/super-ali.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f30d164cb3517d5b99a570f46f22b32c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f30d164cb3517d5b99a570f46f22b32c?s=96&d=mm&r=g\",\"caption\":\"Honey\"},\"sameAs\":[\"http:\/\/super-ali.com\/blog\"],\"url\":\"https:\/\/super-ali.com\/blog\/author\/honey\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[CODE] Stop using GIFs on product page and use this - Super-Ali Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/","og_locale":"en_US","og_type":"article","og_title":"[CODE] Stop using GIFs on product page and use this - Super-Ali Blog","og_description":"Pranav shared this amazing hack to improve your page load speed. Tip of the day Don&#8217;t use GIFs on product page, convert your GIFs into MP4&#8217;s and embed them in your description with auto looping (can find the code online) Your page load speed will thank you. Here&#8217;s the code: &lt;video controls=&#8221;&#8221; autoplay=&#8221;&#8221; muted=&#8221;&#8221; loop=&#8221;&#8221;&hellip; Continue reading [CODE] Stop using GIFs on product page and use this","og_url":"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/","og_site_name":"Super-Ali Blog","article_publisher":"https:\/\/www.facebook.com\/superalicom\/","article_published_time":"2022-03-31T13:24:29+00:00","article_modified_time":"2022-03-31T13:24:30+00:00","author":"Honey","twitter_card":"summary_large_image","twitter_creator":"@superalicom","twitter_site":"@superalicom","twitter_misc":{"Written by":"Honey","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/#article","isPartOf":{"@id":"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/"},"author":{"name":"Honey","@id":"https:\/\/super-ali.com\/blog\/#\/schema\/person\/702e9cc913f71eafa71986a1524bec69"},"headline":"[CODE] Stop using GIFs on product page and use this","datePublished":"2022-03-31T13:24:29+00:00","dateModified":"2022-03-31T13:24:30+00:00","mainEntityOfPage":{"@id":"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/"},"wordCount":136,"commentCount":0,"publisher":{"@id":"https:\/\/super-ali.com\/blog\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/","url":"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/","name":"[CODE] Stop using GIFs on product page and use this - Super-Ali Blog","isPartOf":{"@id":"https:\/\/super-ali.com\/blog\/#website"},"datePublished":"2022-03-31T13:24:29+00:00","dateModified":"2022-03-31T13:24:30+00:00","breadcrumb":{"@id":"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/super-ali.com\/blog\/code-stop-using-gifs-on-product-page-and-use-this\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/super-ali.com\/blog\/"},{"@type":"ListItem","position":2,"name":"[CODE] Stop using GIFs on product page and use this"}]},{"@type":"WebSite","@id":"https:\/\/super-ali.com\/blog\/#website","url":"https:\/\/super-ali.com\/blog\/","name":"Super-Ali Blog","description":"Find trending products before spy tools","publisher":{"@id":"https:\/\/super-ali.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/super-ali.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/super-ali.com\/blog\/#organization","name":"Super-Ali","url":"https:\/\/super-ali.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/super-ali.com\/blog\/#\/schema\/logo\/image\/","url":"http:\/\/super-ali.com\/blog\/wp-content\/uploads\/2021\/07\/Super-Ali-Logo-A.jpg","contentUrl":"http:\/\/super-ali.com\/blog\/wp-content\/uploads\/2021\/07\/Super-Ali-Logo-A.jpg","width":2000,"height":2000,"caption":"Super-Ali"},"image":{"@id":"https:\/\/super-ali.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/superalicom\/","https:\/\/twitter.com\/superalicom","https:\/\/www.instagram.com\/superaliofficial","https:\/\/www.youtube.com\/channel\/UCqeqAScuYO5MmU0t2wsZUHg"]},{"@type":"Person","@id":"https:\/\/super-ali.com\/blog\/#\/schema\/person\/702e9cc913f71eafa71986a1524bec69","name":"Honey","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/super-ali.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f30d164cb3517d5b99a570f46f22b32c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f30d164cb3517d5b99a570f46f22b32c?s=96&d=mm&r=g","caption":"Honey"},"sameAs":["http:\/\/super-ali.com\/blog"],"url":"https:\/\/super-ali.com\/blog\/author\/honey\/"}]}},"_links":{"self":[{"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/posts\/174"}],"collection":[{"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/comments?post=174"}],"version-history":[{"count":1,"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/posts\/174\/revisions"}],"predecessor-version":[{"id":175,"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/posts\/174\/revisions\/175"}],"wp:attachment":[{"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/media?parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/categories?post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/super-ali.com\/blog\/wp-json\/wp\/v2\/tags?post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}