fonini / ckeditor-youtube-plugin

CKEditor Plugin to embed Youtube videos.
https://fonini.github.io/youtube-plugin-for-ckeditor-4.html
Do What The F*ck You Want To Public License
51 stars 61 forks source link

Disabling the change of settings #35

Closed danchello closed 7 years ago

danchello commented 9 years ago

Is there a way to disable changing such setting as autoplay and width/heigh?

I use CKEDITOR for regular users which could add a youtube video, but I don't want them to break the design or set the autoplay setting.

Thanks in advance/

Vova11 commented 8 years ago

Hi Danchello,

Did you find out how to hide e.g. txtEmbed of txtWidth,... from the youtubePlugin window? Somehow I can not disable these settings. When I put youtubeTab.remove('txtEmbed'); to ckeditor config.js I get following error in console ....Uncaught TypeError: Cannot read property 'disable' of undefined Thanks in advance for any advice.

fonini commented 7 years ago

Which fields you would like to disable?

master-bob commented 7 years ago

We would like the the ability to disable the old embed code field and the responsive field.

fonini commented 7 years ago

Added in the last version. Please see the instructions in README. Feel free to get in touch.