{
  "id": 22176548,
  "title": "How to autoplay an embedded video (and why it has to be muted)",
  "url": "https://urgent.news/2026/11/27/how-to-autoplay-an-embedded-video-and-why-it-has-to-be-muted",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-27T15:00:00.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/vidlify/how-to-autoplay-an-embedded-video-and-why-it-has-to-be-muted-2md6"
  },
  "original_language": "en",
  "account": "Videos that begin playing automatically can add life to a landing page - showcasing a product in motion, looping imagery in the header, or a demo running while visitors read. However, browsers often prevent videos from starting. This guide explains why, and how to implement autoplay correctly.\n\nModern browsers such as Chrome, Safari, Firefox, and Edge impose restrictions on autoplay. Muted videos can start on their own, but sound-filled videos usually cannot. They typically only play in specific scenarios, like when a user has previously engaged with the webpage or site, and the rules vary across browsers.\n\nTo ensure reliable autoplay for all users, it's essential to start the video muted. While muted, visitors can still enable sound with a single click. The embed code from Vidlify, for instance, includes the parameter \"autoplay=1&muted=1\" in the URL. \"autoplay=1\" prompts the player to begin immediately, while \"muted=1\" ensures the video starts without sound, complying with browser requirements. This parameter is also present in the Vidlify iframe code, which must include \"allow='autoplay'\" - the permission browsers need to allow an embedded player to start.\n\n\"Autoplay=1&muted=1\" can also be combined with a start time, such as \"?autoplay=1&muted=1&t=15\" to begin playing at the 15-second mark. When autoplay is appropriate, it can include short, silent clips like product shots, background visuals, or screen recordings. If the webpage is primarily about the video, visitors are likely there to watch it anyway. However, long videos with speech should not be muted, as viewers won't understand the content. Similarly, multiple videos on one page should not autoplay, as it consumes data and slows down the page. Mobile users on limited data plans should also be considered, as an automatically starting video uses their data allowance.\n\nTo maximize the effectiveness of muted autoplay, the video's key message should be conveyed visually rather than audibly. If speech is vital, consider adding subtitles burned into the video so the message is still conveyed even when muted. It's also crucial to test autoplay on mobile devices, as they tend to have the most stringent autoplay and data restrictions.",
  "summary": "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. Why browsers block autoplay Nobody likes a website that suddenly starts talking. That is why Chrome, Safari, Firefox and Edge all…",
  "summary_source": "publisher",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}