Issue #1695Opened December 30, 2018by ahmedeldeeb25-zz0 reactions

Adding new trait to Video component

Question

screenshot from 2018-12-30 14-14-25

I want to add a new trait for existing VIDEO '' component. I follow the docs and I didn't find what I want.

Now I got the new trait added to the VIDEO component, but the existing traits are gone, I need some help, Thank you so much

Here is what I've tried so far: https://js.do/code/273166

Answers (3)

artfJanuary 4, 20190 reactions

Extend the video type not the default one and be careful with your isComponent method, you're returning return {type: 'input'};

ahmedeldeeb25-zzJanuary 5, 20190 reactions

@artf thank you for your response, I've tried what you mentioned but didn't work,now my new trait is not even added

https://js.do/code/274228

could you provide a demo for the solution, please?

ahmedeldeeb25-zzJanuary 5, 20190 reactions

@artf I do the same thing as you mentioned with MAP and LINK components and it worked, but it didn't work with VIDEO 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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.