'Controls' attribute for Video tag #6144
Unanswered
banderovskyi
asked this question in
Q&A
Replies: 1 comment
-
UPD: init() {
const { controls } = this.getAttributes();
this.set("controls", !!controls);
}, The code I added to prevent adding controls by default |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey!
I faced some odd behavior when I import a page template with video tags for example:
Once code is imported to the editor I see that my video has the 'Controls' attribute enabled

So this is the problem for me because when I import some large HTML template and only change some text and then export the code I see that all my Video tags have these attributes.
Maybe it's more related to the block plugin than to library itself🤔
Is there a way to configure it?
Beta Was this translation helpful? Give feedback.
All reactions