Issue #3098πŸ’¬ AnsweredOpened Oct 27, 2020by meyerco2 reactions

Cannot configure a video block with src=null

Quick answerby GoodPHP❀ 1

Hi, If you didn't find answer here, you can contact with Devfuture Team: https://devfuture.pro/contact/ We specialise on GrapesJS.

Read full answer below ↓

Question

DescriptionThe bug is reproduced on the current demoWhat happens ? I configured my video block with src=null like this : When i drag the block i get on the generated html an base64 image on the src attribute like this : Expected behavior I want to set a block without predefined src and give the user the ability to set the src via the trait . Steps to reproduce on the demoOpen the import popup and paste this and click importReopen the import popup and you will see that the src attribute is set with the base64 image . The conclusions of my research It seems to be a collision between the video a...

Answers (3)

GoodPHPβ€’ Oct 30, 2020

Hi,

If you didn't find answer here, you can contact with Devfuture Team: https://devfuture.pro/contact/

We specialise on GrapesJS.

artfβ€’ Nov 9, 2020

@meyerco pass an empty fallback: '' property also

meyercoβ€’ Oct 29, 2020

To be more precise , the bug is about loading an html that contain a video tag without src attribute .

After loading this html , an scr attribute is added to video tag . This src value is a base64 image (obviously the default base64 image for the image component) .

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 β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.