Search code examples
javascriptyoutubeckeditor

Changing CKEditor youtube plugin settings


I'm working website with inline CKEditor WYIWYG editor with the youtube plugin enabled. I was wondering if it is possible to disable some of the advanced settings in the modal window that shows when you try to add a video. I would like to disable these options (entirely)

  1. Embedded code - instead I would like users to be able to only insert the youtube link
  2. Youtube video dimensions - due to the layout, the dimensions have to be fixed to certain width and height.

Are there any settings I'm missing which disable this?


Solution

  • You go in the plugin "youtube" and in the file "plugin.js" you delete what you don't.

    I did like that for me.

    I don't know if there is one another way.