How to update src of video tag at dynamically?
@san-123 please follow the issue template and create a reproducible demo because it's hard to understand what is wrong here
Read full answer below βQuestion
Hi @artf , I have drag and drop multiple video tag same page and each one generated random number to ID attributes. Two things doubt, Frist one is that I tried updated sample video path to src video tag based on Id attribute but not working for me. How to update src to video tag based Id attribute? Second one is that style manager issues, style manager working with image tag, added inline styles ex : .rt123{Height:120px;Width:200px;} for image .rt123 is id attribute. For video tag, Id attribute is randmID , so style manager not applied to video tags. How to change this.
Answers (2)
@san-123 please follow the issue template and create a reproducible demo because it's hard to understand what is wrong here
Thanks for reporting this, @san-123. Great question about How to update src of video tag at dynamically?. The recommended approach with StyleManager is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the on() event listener method Most ope...
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3255
Custom Style Manager
Hi @artf I am trying to change the type and input values of display property like this way -: But on style-manager Button are not visible....
Issue #3383
Is it possible to include the style in the html?
I'm currently using grapesjs to build email templates, however when I import HTML with the <style> tag already inside, before this is store...
Issue #3362
double click problem
grapesjs - 0.16.105 When I click in one element(form - this element have disable cloning), next second element(column). First element clone...
Issue #3304
How I can customize the UI of Grapesjs?
I want to customize the ui of Grapesjs but the js and css files are minified.Please tell me how can I do this? I just want to keep some spe...
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 βBrowse Plugin Categories
Jump directly to plugin category pages on the marketplace.