{"id":7565,"date":"2024-04-25T10:58:00","date_gmt":"2024-04-25T15:58:00","guid":{"rendered":"https:\/\/infiniteuploads.com\/?p=7565"},"modified":"2026-10-23T17:57:45","modified_gmt":"2026-10-23T22:57:45","slug":"ultimate-guide-to-autoplaying-videos-in-wordpress","status":"publish","type":"post","link":"https:\/\/infiniteuploads.com\/blog\/ultimate-guide-to-autoplaying-videos-in-wordpress\/","title":{"rendered":"Ultimate Guide to Autoplaying Videos in WordPress"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body><p class=\"wp-block-paragraph\">You add a video to a page, switch on autoplay, hit Update, and the page loads with a frozen black box. Or it plays fine on your laptop and does nothing on your phone. It looks like a bug. It's almost always a browser rule.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then there's the opposite headache. Autoplay works, and now every visitor downloads your video whether they watch it or not. If your host meters bandwidth, you're paying for plays that never happened.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This guide fixes both. You get the quick answer first, then the reasons autoplay fails, then the full setup for the WordPress Video block, YouTube, Vimeo and Infinite Uploads.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-autoplay-a-video-in-wordpress-the-short-answer-\">How to Autoplay a Video in WordPress (the Short Answer)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Autoplay works when the video is muted. That's the whole trick. Chrome, Firefox and Safari let muted video start on its own and block most video that has sound. Pick the method that matches where your video lives.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>WordPress Video block.<\/strong> Select the block, open Settings in the sidebar, and turn on Autoplay. WordPress switches Muted and Play inline on for you. Turn on Loop if you want it to repeat.<\/li>\n\n\n\n<li><strong>YouTube.<\/strong> Add <code>autoplay=1<\/code> to the embed URL, like <code>https:\/\/www.youtube.com\/embed\/VIDEO_ID?autoplay=1<\/code>. Add <code>mute=1<\/code> too so Chrome lets it start. YouTube's <a href=\"https:\/\/developers.google.com\/youtube\/player_parameters\" target=\"_blank\" rel=\"noreferrer noopener\">parameter reference<\/a> documents <code>autoplay<\/code> but doesn't list <code>mute<\/code>, so test it on your own page. The documented route is <code>player.mute()<\/code> in the <a href=\"https:\/\/developers.google.com\/youtube\/iframe_api_reference\" target=\"_blank\" rel=\"noreferrer noopener\">IFrame Player API<\/a>.<\/li>\n\n\n\n<li><strong>Vimeo.<\/strong> Add <code>autoplay=1&amp;muted=1<\/code> to the iframe URL. Both parameters are in <a href=\"https:\/\/help.vimeo.com\/hc\/en-us\/articles\/12426260232977-About-Player-parameters\" target=\"_blank\" rel=\"noreferrer noopener\">Vimeo's player parameter list<\/a>.<\/li>\n\n\n\n<li><strong>Infinite Uploads.<\/strong> Turn on Autoplay and Muted in the Infinite Uploads Video block settings. Or tick both boxes in the video's Embed Code tab and copy the shortcode.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Why muted? Browsers treat autoplay with sound as a nuisance, because nobody asked for it. Chrome says <a href=\"https:\/\/developer.chrome.com\/blog\/autoplay\" target=\"_blank\" rel=\"noreferrer noopener\">muted autoplay is always allowed<\/a>, and <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Media\/Guides\/Autoplay\" target=\"_blank\" rel=\"noreferrer noopener\">MDN's autoplay guide<\/a> describes the same rule for browsers in general. Think of a silent video playing in a shop window. Nobody minds. A speaker blasting out of every browser tab? That gets blocked.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-your-wordpress-video-won-t-autoplay\">Why Your WordPress Video Won't Autoplay<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Start at the top of this list and work down.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>The video isn't muted.<\/strong> This is the big one. Turn on the Muted toggle (or <code>muted=1<\/code> for an embed) and reload. Chrome only allows autoplay with sound after a visitor has clicked on your site, or, on desktop, once they've played video with sound there before. You can't count on either for a new visitor.<\/li>\n\n\n\n<li><strong>The iframe isn't allowed to autoplay.<\/strong> A video inside an iframe from another domain needs <code>allow=\"autoplay\"<\/code> in the iframe tag, as <a href=\"https:\/\/developer.chrome.com\/blog\/autoplay\" target=\"_blank\" rel=\"noreferrer noopener\">Chrome's autoplay policy<\/a> explains. YouTube's embed code already includes it. If you hand-wrote the iframe, add it. The Infinite Uploads embed includes it for you.<\/li>\n\n\n\n<li><strong>iPhone wants it inline.<\/strong> On iPhone, a video without the <code>playsinline<\/code> attribute goes fullscreen to play, which <a href=\"https:\/\/webkit.org\/blog\/6784\/new-video-policies-for-ios\/\" target=\"_blank\" rel=\"noreferrer noopener\">WebKit documents<\/a> for Safari. The WordPress Video block turns Play inline on automatically when Autoplay is on. A custom HTML video tag needs it added by hand.<\/li>\n\n\n\n<li><strong>The video isn't on screen.<\/strong> WebKit says an autoplay video only starts once it's visible. If yours sits inside a closed tab or accordion, it won't start until that panel opens, so check where you've placed it.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Still stuck after all four? Test in a private window with no extensions. If it autoplays there, your normal browser has a stricter autoplay setting, and your visitors may too. You can't change that for them. A muted video is the only reliable path.<\/p>\n\n\n<!-- Infinite Uploads -->\n<div class=\"web-maintenance\" style=\"max-width: 1180px; display: flex; padding: 40px 30px; background-color: #dcedfa; background-image: url('https:\/\/clikitnow.com\/wp-content\/uploads\/2024\/08\/background1.png'); background-size: cover; background-position: center right;\">\n<div class=\"web_m-cta-column-left\" style=\"width: 50%;\"><a class=\"cta-button-img\" href=\"https:\/\/infiniteuploads.com\/features\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/cdn.infiniteuploads.com\/wp-content\/uploads\/2025\/11\/Final_Setup-So-Simple_-Its-A-Relief-1-scaled-1.png\" width=\"2560\" height=\"1927\" alt=\"Infinite Uploads setup screen\"><\/a><\/div>\n<div class=\"web_m-cta-column-right\" style=\"width: 50%; display: flex; justify-content: center; align-items: center; text-align: center;\">\n<div style=\"max-width: 350px;\">\n<p class=\"web_m-cta-heading\" style=\"color: #0b73b9 !important; margin-bottom: 0 !important; font-size: 22px; font-weight: 400; line-height: 1.3em;\"><strong><a style=\"text-decoration: none !important;\" href=\"https:\/\/infiniteuploads.com\/features\/\">Infinite Uploads<\/a><\/strong><\/p>\n<p style=\"color: #0b73b9 !important; font-size: 14px; line-height: 1.5em; margin-bottom: 20px;\">Offload, organize, and deliver your WordPress media from one plugin: cloud storage, video streaming, image optimization, and a global CDN, with no per-site limits.<\/p>\n<a class=\"et_pb_button\" style=\"display: inline-block; width: 80%; padding: 0 !important; color: #ffff !important; border-width: 10px !important; border-radius: 0 !important; border-color: rgba(0, 0, 0, 0); text-decoration: none !important; font-size: 20px; font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif !important; font-weight: 500 !important; background-color: #e02b20; line-height: 1.2em !important;\" href=\"https:\/\/infiniteuploads.com\/pricing\/\">See Pricing<\/a>\n\n<\/div>\n<\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"understanding-autoplay-for-wordpress-videos\">Understanding Autoplay for WordPress Videos<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"the-basics-of-video-autoplay\">The Basics of Video Autoplay<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Autoplay means a video starts without the visitor pressing play. In HTML it's a single attribute on the video tag. For embeds from YouTube or Vimeo, it's a parameter on the URL. Either way, the browser has the final say. It decides whether the video starts, based on rules about sound, screen position and whether the visitor has interacted with your site. That's why the same page can autoplay on one device and sit silent on another.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"autoplay-pros-and-cons\">Autoplay Pros and Cons<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Pros<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Motion catches the eye, so product demos and hero sections get noticed without a click.<\/li>\n\n\n\n<li>Short muted loops work well as backgrounds, since there's nothing to hear or pause.<\/li>\n\n\n\n<li>Visitors see the point of the page right away, which helps when your message is easier to show than to write.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Cons<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Every autoplay video loads for every visitor, including the ones who scroll past it. That costs your visitors data and costs you bandwidth.<\/li>\n\n\n\n<li>Browsers restrict it, so it won't behave the same everywhere.<\/li>\n\n\n\n<li>It can annoy people, especially anyone in a quiet room, on a slow connection or on a metered phone plan.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The bandwidth con is the one that surprises people. A page with an autoplaying video can be fine on launch day and expensive once traffic picks up. I'll cover how to handle that further down.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"choosing-the-right-video-type-for-autoplay\">Choosing the Right Video Type for Autoplay<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/8d0f6ca4-5765-453d-9874-6569405ca0a5_aDNiqyJF1vnYTDDTrR7eC-1-1024x585.jpeg.webp\" alt=\"Illustration of a monitor showing three video windows labeled YouTube, Vimeo and Self-Hosted\" class=\"wp-image-7570\" srcset=\"https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/8d0f6ca4-5765-453d-9874-6569405ca0a5_aDNiqyJF1vnYTDDTrR7eC-1-980x560.jpeg.webp 980w, https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/8d0f6ca4-5765-453d-9874-6569405ca0a5_aDNiqyJF1vnYTDDTrR7eC-1-480x274.jpeg.webp 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Where your video lives decides how autoplay behaves, what it costs and how much control you get. Here's how the four main options compare.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"wordpress-video-hosting-plugins\">WordPress Video Hosting Plugins<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A video hosting plugin like <a href=\"https:\/\/infiniteuploads.com\/features\/video-hosting\/\">Infinite Uploads Video Cloud<\/a> keeps the video off your web host entirely. You upload from the WordPress dashboard, the video is encoded for streaming, and it's delivered from a global CDN, so autoplay traffic never touches your server. You also get a player with no YouTube branding and no ads, plus per-video settings for Autoplay, Loop, Muted and Preload.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"337\" src=\"https:\/\/infiniteuploads.com\/wp-content\/uploads\/2024\/04\/infinite-uploads-block.gif\" alt=\"Animated demo of uploading a video with the Infinite Uploads Video block in the WordPress editor\" class=\"wp-image-8780\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The Video Library Editor is where you set those options per video. Tick Autoplay and Muted, and the shortcode updates to match.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"601\" src=\"https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/CleanShot-2025-02-17-at-12.00.26@2x-1024x601.png.webp\" alt=\"Infinite Uploads Edit Video screen with the Embed Code tab showing the Autoplay, Loop and Muted checkboxes above the video shortcode\" class=\"wp-image-8794\" srcset=\"https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/CleanShot-2025-02-17-at-12.00.26@2x-980x575.png.webp 980w, https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/CleanShot-2025-02-17-at-12.00.26@2x-480x282.png.webp 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><figcaption class=\"wp-element-caption\">The Video Library Editor in Infinite Uploads, with Autoplay, Loop and Muted options in the Embed Code tab<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"youtube-videos\">YouTube Videos<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">YouTube is free and easy to embed, and YouTube's servers carry the traffic instead of yours. The tradeoffs are the YouTube branding, suggested videos and an autoplay setup that needs the right parameters. YouTube also says that with autoplay on, <a href=\"https:\/\/developers.google.com\/youtube\/player_parameters\" target=\"_blank\" rel=\"noreferrer noopener\">playback data collection and sharing happen on page load<\/a>, not when the visitor presses play. Worth knowing if you run a privacy-conscious site.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"vimeo-videos\">Vimeo Videos<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Vimeo has a cleaner player and fewer distractions. Autoplay, loop and muted are all documented player parameters, so the setup is a short URL change. The video still lives on Vimeo, so you're working inside its player and its rules.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"self-hosted-videos\">Self-Hosted Videos<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Self-hosting means uploading the file to your Media Library and playing it with the core Video block. You control everything, and autoplay is just a toggle. The cost lands on your web host. Every autoplay view pulls the full file from your server, so a few large videos on a busy page can slow the whole site down. That's fine for a small clip. It gets painful fast for anything longer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-set-up-autoplay-videos-in-wordpress\">How to Set Up Autoplay Videos in WordPress<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1792\" height=\"1024\" src=\"https:\/\/infiniteuploads.com\/wp-content\/uploads\/2024\/04\/image-27.jpeg\" alt=\"Illustration of a person wearing headphones working at a desk with a video editing screen\" class=\"wp-image-7569\" srcset=\"https:\/\/infiniteuploads.com\/wp-content\/uploads\/2024\/04\/image-27.jpeg 1792w, https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/image-27-1280x731.jpeg.webp 1280w, https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/image-27-980x560.jpeg.webp 980w, https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/image-27-480x274.jpeg.webp 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1792px, 100vw\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"embedding-youtube-videos-with-autoplay\">Embedding YouTube Videos with Autoplay<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On YouTube, click Share under the video, then Embed, and copy the iframe code.<\/li>\n\n\n\n<li>In the WordPress editor, add a Custom HTML block and paste the code.<\/li>\n\n\n\n<li>In the iframe's <code>src<\/code> URL, add <code>?autoplay=1&amp;mute=1<\/code> after the video ID. Leave the <code>allow<\/code> attribute as YouTube gave it to you, since it already includes <code>autoplay<\/code>.<\/li>\n\n\n\n<li>Update the page and test it in a private window.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">One honest caveat. <code>autoplay<\/code> is documented in YouTube's parameter reference, and <code>mute<\/code> isn't. It's widely used and works for many people, but YouTube could change it. If you need it to be dependable, load the video with the <a href=\"https:\/\/developers.google.com\/youtube\/iframe_api_reference\" target=\"_blank\" rel=\"noreferrer noopener\">IFrame Player API<\/a> and call <code>player.mute()<\/code> before it plays.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"embedding-vimeo-videos-with-autoplay\">Embedding Vimeo Videos with Autoplay<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On Vimeo, open the video, click Share, and copy the embed code.<\/li>\n\n\n\n<li>Paste it into a Custom HTML block.<\/li>\n\n\n\n<li>Add <code>autoplay=1&amp;muted=1<\/code> to the iframe URL. If the URL already has a <code>?<\/code>, join the new parameters on with <code>&amp;<\/code>.<\/li>\n\n\n\n<li>Update the page and test it.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"setting-up-self-hosted-videos-with-autoplay\">Setting Up Self-Hosted Videos with Autoplay<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Add a Video block and choose your file from the Media Library.<\/li>\n\n\n\n<li>With the block selected, open the Settings tab in the sidebar.<\/li>\n\n\n\n<li>Turn on Autoplay. WordPress turns on Muted and Play inline automatically, and locks Muted while Autoplay is on.<\/li>\n\n\n\n<li>Turn on Loop if you want a repeating clip, and set Preload to Metadata so the browser doesn't fetch the whole file up front.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/infiniteuploads.com\/wp-content\/uploads\/2026\/10\/video-settings-interface-with-autoplay-toggle-blue-and-gray-highlights-screenshot.png\" alt=\"WordPress Video block settings panel with the Autoplay toggle on and the Muted toggle switched on automatically\" class=\"wp-image-14130\"><figcaption class=\"wp-element-caption\">Turn on Autoplay in the Video block and WordPress turns on Muted for you.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Prefer plain HTML? Put this in a Custom HTML block instead. Swap in your own file URL.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;video src=\"https:\/\/example.com\/your-video.mp4\" autoplay muted loop playsinline&gt;&lt;\/video&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">That covers the three common setups. If the video still won't start, go back to the checklist near the top of this page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"advanced-embedding-features\">Advanced Embedding Features<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/image-25-1024x585.jpeg.webp\" alt=\"Illustration of a laptop on a desk showing a web page with an embedded video\" class=\"wp-image-7567\" srcset=\"https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/image-25-980x560.jpeg.webp 980w, https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/image-25-480x274.jpeg.webp 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"looping-autoplay-videos\">Looping Autoplay Videos<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For a background clip or a short product demo, you'll want it to repeat. In the Video block, that's the Loop toggle. For a YouTube embed, add <code>loop=1<\/code> and <code>playlist=VIDEO_ID<\/code>, using the same video ID in both places. YouTube's reference says <a href=\"https:\/\/developers.google.com\/youtube\/player_parameters\" target=\"_blank\" rel=\"noreferrer noopener\">single-video loops need the playlist parameter<\/a> in IFrame embeds. For Vimeo, add <code>loop=1<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"muting-autoplay-videos\">Muting Autoplay Videos<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Muting is what makes autoplay work in the first place. The Video block handles it for you. In a Vimeo embed, use <code>muted=1<\/code>. For YouTube, use <code>mute=1<\/code> (see the caveat above) or <code>player.mute()<\/code>. Visitors can still unmute with the player controls, so keep those visible.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"hiding-video-player-controls\">Hiding Video Player Controls<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For a background video, you can remove the player controls. In a YouTube embed, add <code>controls=0<\/code>. Do it only for decorative video with no sound. If a video carries information, hiding the controls leaves people with no way to pause it or turn the sound on, which is an accessibility problem.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"optimizing-autoplay-videos-for-user-experience\">Optimizing Autoplay Videos for User Experience<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"implementing-autoplay-without-annoying-users\">Implementing Autoplay Without Annoying Users<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Keep autoplay video muted, short and relevant. Leave the controls on so visitors can turn the sound on or stop it. Skip autoplay on pages where people come to read, and don't stack more than one autoplaying video on a screen. If a video doesn't earn its place on the page, a plain play button is the kinder choice.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"balancing-load-times-with-video-autoplay\">Balancing Load Times with Video Autoplay<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">An autoplay video starts downloading the moment the page loads, so it competes with your images and scripts for the same connection. A few habits help:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Compress the file and use a short clip. A 10 second loop beats a 2 minute film.<\/li>\n\n\n\n<li>Set Preload to Metadata so the browser doesn't pull the full file before it needs it.<\/li>\n\n\n\n<li>Lazy load videos that sit below the first screen, so they only load when a visitor scrolls near them. Above the fold, a heavy video can slow down how fast your page looks ready.<\/li>\n\n\n\n<li>Serve video from a CDN rather than your web host. Our guide to <a href=\"https:\/\/infiniteuploads.com\/blog\/understanding-hls-video-streaming-for-wordpress\/\">HLS video streaming for WordPress<\/a> explains how adaptive streaming keeps playback smooth on slow connections.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-use-infinite-uploads-to-embed-videos-in-wordpress\">How to use Infinite Uploads to Embed Videos in WordPress<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If autoplay is going to bring traffic to your video, it helps to have the video served from somewhere built for it. <a href=\"https:\/\/infiniteuploads.com\/blog\/cloud-video-encoding-storage-and-streaming-for-wordpress\/\">Infinite Uploads Video Cloud<\/a> handles encoding, storage and streaming from your WordPress dashboard, so large files don't hit your host's limits and autoplay plays don't eat your server's bandwidth. Setup takes a minute:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Add the Infinite Uploads Video block to your page.<\/li>\n\n\n\n<li>Upload a video, or pick one from your cloud video library.<\/li>\n\n\n\n<li>In the block settings, turn on Autoplay and Muted together, since browsers only autoplay muted video.<\/li>\n\n\n\n<li>Turn on Loop if you want it to repeat, and leave Preload on unless you need to hold back the download.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/autoplay-1024x576.jpg.webp\" alt=\"Infinite Uploads video block autoplay settings\" class=\"wp-image-7571\" srcset=\"https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/autoplay-980x552.jpg.webp 980w, https:\/\/infiniteuploads.com\/wp-content\/smush-webp\/2024\/04\/autoplay-480x270.jpg.webp 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><figcaption class=\"wp-element-caption\">The Autoplay settings in the Infinite Uploads Video block<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The player is customizable and has no YouTube branding or ads. Videos stream with <a href=\"https:\/\/infiniteuploads.com\/blog\/understanding-hls-video-streaming-for-wordpress\/\">HLS<\/a> and are delivered from a CDN with 119+ points of presence, so a visitor in Sydney and a visitor in Chicago both get a quick start. Prefer shortcodes? Open the video in the Video Library Editor, tick Autoplay and Muted in the Embed Code tab, and copy the shortcode it gives you. See the full <a href=\"https:\/\/infiniteuploads.com\/features\/video-hosting\/\">WordPress video hosting<\/a> feature page for what's included.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"autoplay-without-the-bandwidth-bill\">Autoplay Without the Bandwidth Bill<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Getting autoplay to work is the easy part. The part that bites later is the bill, or the slow page, when a hundred visitors turn into ten thousand. Autoplay is the one video setting that costs you on every page view, whether anyone watches or not.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Moving the video to Infinite Uploads Video Cloud takes that load off your host. Plans start at $8.25\/mo billed yearly ($99\/yr) for 25 GB of storage and 50 GB of CDN bandwidth, and you can start with a 7-day free trial. Check the <a href=\"https:\/\/infiniteuploads.com\/pricing\/\">plans on our pricing page<\/a> to see which one fits your traffic.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/infiniteuploads.com\/pricing\/\">See Infinite Uploads pricing<\/a><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group iu-topic-cluster is-layout-constrained wp-block-group-is-layout-constrained\">\n\n<h3 class=\"wp-block-heading\" id=\"related-wordpress-video-guides\">Related WordPress video guides<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/infiniteuploads.com\/blog\/top-methods-to-embed-video-in-wordpress-boost-speed-engagement\/\">How to embed video in WordPress<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/infiniteuploads.com\/features\/video-hosting\/\">WordPress video hosting<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/infiniteuploads.com\/blog\/top-wordpress-video-plugins-enhance-your-sites-engagement\/\">WordPress video plugins compared<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/infiniteuploads.com\/blog\/understanding-hls-video-streaming-for-wordpress\/\">HLS video streaming for WordPress explained<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/infiniteuploads.com\/blog\/cloud-video-encoding-storage-and-streaming-for-wordpress\/\">Cloud video encoding, storage and streaming for WordPress<\/a><\/li>\n<\/ul>\n\n<\/div>\n<\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>Best practices for autoplay and looping videos in WordPress using YouTube, Vimeo, the Video block, or Infinite Uploads Plugin.<\/p>\n","protected":false},"author":3787,"featured_media":11096,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"wds_primary_category":110,"footnotes":""},"categories":[110],"tags":[121,65],"class_list":["post-7565","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-video","tag-autoplay","tag-video"],"acf":[],"_links":{"self":[{"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/posts\/7565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/users\/3787"}],"replies":[{"embeddable":true,"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/comments?post=7565"}],"version-history":[{"count":9,"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/posts\/7565\/revisions"}],"predecessor-version":[{"id":14287,"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/posts\/7565\/revisions\/14287"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/media\/11096"}],"wp:attachment":[{"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/media?parent=7565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/categories?post=7565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/tags?post=7565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}