What’s the least resource-intensive method to get a 10-second video on a WP site? Is it a .gif?

[ad_1]

Im creating a website and I would like a 10-second video to start playing when someone scrolls down the page and sees this section: [https://edcalerts.com/#how-it-works])

The video will be me scrolling through channels in a discord server. No voice. and I would like to repeat when its done.

I see a lot of support articles have these gifs that do this. They just play and loop.

I’ve never seen one large though, is there a reason for that? In my situation, it will have to be really large because it will be replacing that current image. Would a gif make it blurry at that size?

**What would you do to accomplish this task?**

[ad_2]
3 Comments
  1. my clients usually prefer htm5 webm w mp4 fallback, usually looks something similar to this after all is said and done, ignore the empty attributes, i just grabbed it from a prod site

    <video autoplay=”” muted=”” playsinline=”” loop=”” class=”indexvideo whateveryouwantlol” data-desktop-vid=”{{ urlroot }}/2023-homepage-vid-xl.webm” data-mobile-vid=”{{ urlroot }}/2023-homepage-vid-sm.webm”>
    <source src=”{{ urlroot }}/2023-homepage-vid-xl.webm” type=”video/webm”><source src=”{{ urlroot }}/2023-homepage-vid-xl.mp4″ type=”video/mp4″></video>

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer