Issue #5542✓ SolvedOpened Dec 4, 2023by brenoassp2 reactions

Error autoplay youtube

Quick answerby artf2

Looks like the muted property was correct for Vimeo but not for Youtube. I'll push the fix, thanks.

Read full answer below ↓

Question

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 119.0.6045.200 64 bits Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Drag and drop a video block into the canvasClick on the video and select YouTube as the Provider.Add any video ID, for instance, lDK9QqIzhwk, and check the Autoplay option.Click on the view code button and look for the iframe generated. The URL is something like: https://www.youtube.com/embed/lDK9QqIzhwk?&autoplay=1&muted=1. What is the expected behavior? The expected behav...

Answers (2)

👍 Most helpfulartfDec 7, 2023

Looks like the muted property was correct for Vimeo but not for Youtube. I'll push the fix, thanks.

GJS HelperMay 17, 2026

Thank you for reporting this issue and for your thorough investigation. You've correctly identified the root cause and a working solution. This is indeed a bug in GrapesJS's default YouTube video component. Root Cause Analysis The issue stems from a mismatch between the parameter GrapesJS uses for...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.