<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vidlify</title>
    <description>The latest articles on DEV Community by Vidlify (@vidlify).</description>
    <link>https://dev.to/vidlify</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4267158%2F5993a8ce-69e4-41b1-81e7-95435e6930bf.png</url>
      <title>DEV Community: Vidlify</title>
      <link>https://dev.to/vidlify</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vidlify"/>
    <language>en</language>
    <item>
      <title>How to autoplay an embedded video (and why it has to be muted)</title>
      <dc:creator>Vidlify</dc:creator>
      <pubDate>Fri, 27 Nov 2026 15:00:00 +0000</pubDate>
      <link>https://dev.to/vidlify/how-to-autoplay-an-embedded-video-and-why-it-has-to-be-muted-2md6</link>
      <guid>https://dev.to/vidlify/how-to-autoplay-an-embedded-video-and-why-it-has-to-be-muted-2md6</guid>
      <description>&lt;p&gt;A video that starts by itself can bring a landing page to life: a product in motion, a short loop in the header, a demo that runs while people read. But if you have ever tried it, you know browsers often refuse to start the video. Here is why, and how to get it right.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why browsers block autoplay
&lt;/h2&gt;

&lt;p&gt;Nobody likes a website that suddenly starts talking. That is why Chrome, Safari, Firefox and Edge all limit autoplay:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Muted videos may start on their own.&lt;/strong&gt; This is allowed in all major browsers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Videos with sound usually may not.&lt;/strong&gt; They only autoplay in some cases, for example when the visitor has already interacted with the page or the site, and the rules differ between browsers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So if you want autoplay to work reliably for everyone, the video has to start muted. Visitors can still turn on the sound with one click.&lt;/p&gt;

&lt;h2&gt;
  
  
  Autoplay with Vidlify
&lt;/h2&gt;

&lt;p&gt;Take the embed code of your video (see &lt;a href="https://vidlify.to/blog/embed-video-without-youtube" rel="noopener noreferrer"&gt;How to embed a video on your website&lt;/a&gt;) and add two parameters to the address:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://vidlify.to/e/VIDEO-ID?autoplay=1&amp;amp;muted=1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;autoplay=1&lt;/code&gt; tells the player to start right away.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;muted=1&lt;/code&gt; starts it without sound, which is what browsers require.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The embed code from Vidlify already contains &lt;code&gt;allow="autoplay"&lt;/code&gt; in the iframe, which is the permission the browser needs to let an embedded player start. If you write your own iframe, keep that attribute.&lt;/p&gt;

&lt;p&gt;You can combine it with a start time, for example &lt;code&gt;?autoplay=1&amp;amp;muted=1&amp;amp;t=15&lt;/code&gt; starts at second 15.&lt;/p&gt;

&lt;h2&gt;
  
  
  When autoplay is a good idea
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Short, silent clips&lt;/strong&gt; that work without sound, like product shots, background visuals or screen recordings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A page that is about the video,&lt;/strong&gt; where the visitor came to watch anyway.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  When it isn't
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Long videos with speech.&lt;/strong&gt; Muted, nobody understands them. Let people press play.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Several videos on one page.&lt;/strong&gt; Autoplaying all of them costs your visitors data and makes the page slow.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mobile visitors on data.&lt;/strong&gt; A video that starts on its own uses their data allowance. The player only loads a quality that fits the screen, but it still downloads video.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tips
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Put the key message in the picture,&lt;/strong&gt; not in the sound. Muted autoplay should make sense without audio.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use subtitles burned into the video&lt;/strong&gt; if speech matters, so the message comes across muted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test on a phone.&lt;/strong&gt; Mobile browsers are the strictest about autoplay and data.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://vidlify.to/blog/autoplay-embedded-videos?ref=devto" rel="noopener noreferrer"&gt;Vidlify blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>html</category>
      <category>video</category>
      <category>frontend</category>
    </item>
    <item>
      <title>How to embed a video on your website without YouTube</title>
      <dc:creator>Vidlify</dc:creator>
      <pubDate>Thu, 26 Nov 2026 14:48:01 +0000</pubDate>
      <link>https://dev.to/vidlify/how-to-embed-a-video-on-your-website-without-youtube-120l</link>
      <guid>https://dev.to/vidlify/how-to-embed-a-video-on-your-website-without-youtube-120l</guid>
      <description>&lt;p&gt;YouTube is the default for putting videos on a website, but it is not always a good fit. Its player is built to keep viewers on YouTube: suggested videos from other channels, links back to the platform, and your video sitting next to everyone else's. If you just want &lt;em&gt;your&lt;/em&gt; video on &lt;em&gt;your&lt;/em&gt; page, an independent video host does the job with less noise.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you need
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;the video file (MP4, MOV, MKV, WebM and most other formats work)&lt;/li&gt;
&lt;li&gt;a Vidlify account, free with 30 GB of storage&lt;/li&gt;
&lt;li&gt;a website where you can paste HTML, for example WordPress, Webflow, Squarespace, Ghost or a page you built yourself&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 1: Upload the video
&lt;/h2&gt;

&lt;p&gt;Open Upload and drop the video in. After the upload, the video is converted into several qualities, from 360p up to 4K if your source is 4K. You can watch the progress in My files. Converting takes a while for long or 4K videos, the page updates on its own.&lt;/p&gt;

&lt;p&gt;Leave "Store videos as plain files" switched off: you want the player, not a download.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Copy the embed code
&lt;/h2&gt;

&lt;p&gt;Open the video and scroll to &lt;strong&gt;Share and embed&lt;/strong&gt;. There are two versions of the code.&lt;/p&gt;

&lt;p&gt;The fixed size version is a plain iframe:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;iframe&lt;/span&gt; &lt;span class="na"&gt;src&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"https://vidlify.to/e/VIDEO-ID"&lt;/span&gt; &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"640"&lt;/span&gt; &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"360"&lt;/span&gt; &lt;span class="na"&gt;frameborder&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"0"&lt;/span&gt; &lt;span class="na"&gt;allow&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"autoplay; fullscreen; picture-in-picture"&lt;/span&gt; &lt;span class="na"&gt;allowfullscreen&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The responsive version wraps the iframe so it always fills the width of its container and keeps the 16:9 shape. On phones this is usually the better choice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Paste it into your site
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;WordPress:&lt;/strong&gt; add a "Custom HTML" block and paste the code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Webflow:&lt;/strong&gt; use an "Embed" element.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Squarespace:&lt;/strong&gt; add a "Code" block.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your own HTML:&lt;/strong&gt; paste it where the video should appear.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Publish, and the player shows up on your page. It adapts the quality to each viewer's screen and connection, and it works in fullscreen and picture-in-picture.&lt;/p&gt;

&lt;h2&gt;
  
  
  Useful options
&lt;/h2&gt;

&lt;p&gt;You can add these to the address in &lt;code&gt;src&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;?t=30&lt;/code&gt; starts the video at second 30.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;?autoplay=1&amp;amp;muted=1&lt;/code&gt; starts it automatically. Browsers only allow autoplay when the video is muted, so both are needed.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Keep the video on your site only
&lt;/h2&gt;

&lt;p&gt;By default, anyone who has the embed code could put your video on their own page. If you don't want that, open the video's settings and enter your domain under &lt;strong&gt;Allow embedding only on these domains&lt;/strong&gt;. The player then only plays on your website and its subdomains. &lt;a href="https://vidlify.to/blog/stop-other-sites-embedding-your-videos" rel="noopener noreferrer"&gt;How the domain lock works&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links in chats and social posts
&lt;/h2&gt;

&lt;p&gt;The normal video link also works on its own. When you post it in a chat or on social media, most apps show the title and a preview image, and some play the video right in place.&lt;/p&gt;

&lt;h2&gt;
  
  
  What about SEO?
&lt;/h2&gt;

&lt;p&gt;Search engines don't index the Vidlify pages of your uploads, so your video won't compete with your own website in search results. The page that ranks is yours: write a good title and a few sentences around the embedded video, and the traffic goes to your site.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://vidlify.to/blog/embed-video-without-youtube?ref=devto" rel="noopener noreferrer"&gt;Vidlify blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>html</category>
      <category>video</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
