Youtube Plugin

This plugin allows inserting Youtube videos using embed code or just the video URL.

Installation

Follow these steps:

  1. Extract the downloaded file into the CKEditor’s plugins folder.
  2. Enable the plugin by changing or adding the extraPlugins line in your configuration (config.js):
config.extraPlugins = 'youtube';

3. Add the icon to the toolbar:

config.toolbar = [{ name: 'insert', items: ['Image', 'Youtube']}];
Configuration

You can also change the default plugin options on config.js:

Video width:

config.youtube_width = '640';

Video height:

config.youtube_height = '480';

Show related videos:

config.youtube_related = true;

Use old embed code:

config.youtube_older = false;

Enable privacy-enhanced mode:

config.youtube_privacy = false;

Screenshots

carousel
youtube

252,095 downloads (view stats)

Releases

Plugin versions CKEditor versions
4.6 4.5 4.4

Version: 2.0.9

Download Release notes

 - CS Translation. Thanks to Lukáš Říha.

Version: 2.0.4

Download Release notes

- Added Finnish translation. Thanks to Jami Pietilä.

Version: 1.0.10

Download Release notes

- Fixed encoding

Version: 1.0.7

Download Release notes

Added German translation. Thanks to Sven Jansen.

Version: 1.0

Download Release notes

- New Japanese locale. Thanks to nyayoshi
- Removed obsolete option for HTTPS
- Added option to inform the video's start time