grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

[QUESTION] Add more video provider

Open umerrinayat opened this issue 7 years ago • 2 comments

Thank you @artf I'm using grapesjs in my project and it really help us out to do amazing stuff. I'll share it with you once the whole project completed (quite big project).

[Question] Is it possible to add more video providers in grapesjs? Currently I'm able to use these

{ value: 'so', name: 'HTML5 Source' }, { value: yt, name: 'Youtube' }, { value: ytnc, name: 'Youtube (no cookie)' }, { value: vi, name: 'Vimeo' }

I want to add few more like twitch and google drive public video links. I don't want to update "ComponentVideo.js" file. Any help will be appreciated. Thanks you

umerrinayat avatar Dec 02 '19 08:12 umerrinayat

Hi @umerrinayat you just need to extend the video component

artf avatar Dec 08 '19 19:12 artf

I kinda have the same question now, did you figure out the right way to add a provider?

Mirna-Nasrallah avatar Aug 19 '22 21:08 Mirna-Nasrallah