Custom Embed Video in Video Component
You can update the video component by adding a new text trait which adds this functionality or you can use https://github.com/artf/grapesjs-custom-code
Read full answer below ↓Question
@artf I want to include a custom embed code in Video component so that user can add any iframe containing video. Any help would be appreciated. eg:-
<iframe width="640" height="360" src="//player.vimeo.com/video/123456789?autoplay=0&title=0&byline=0&wmode=transparent" frameborder="0" allowfullscreen="" wmode="opaque"></iframe>
Answers (2)
You can update the video component by adding a new text trait which adds this functionality or you can use https://github.com/artf/grapesjs-custom-code
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #566
How to add Custom HTML type in video traits
How to add Custom HTML type in video traits so that user can able to enter the iframe code and it will embed in the html.
Issue #410
example on video component
is there any example for adding video component the same way as adding images which have uploading dialog ?? any code would be appreciated!...
Issue #1159
how can i add a file importer to grape.js
I want to add a div where the user can add his own code to grape.js. So he can edit his pre-made code with grape.js. Any help will be great...
Issue #1822
[QUESTION] - Add style sector for specific Css rule
Hey @artf , COuld you give your help on this one? I want to disable the user to able to select the wrapper block (body) but I still want to...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →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.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.