This plugin allows inserting Youtube videos using embed code or just the video URL in CKEditor 4. The plugin is NOT compatible with CKEditor 5. If you need to embed Youtube videos in a CKEditor 5 enabled text format, consider using the media library functionality provided by Drupal core. CKEditor 4 is reaching its end-of-life in 2023! It is recommended to make the switch before CKEditor 4 becomes unsupported.
Note that the limitation is with the JavaScript library itself. There is no version compatible with CKEditor 5. See:
* https://ckeditor.com/cke4/addon/youtube
* https://github.com/fonini/ckeditor-youtube-plugin
* https://www.drupal.org/project/ckeditor
Installation
See project's README file for instruction on installing with Composer or manually.
Reference folder structure
.
|-- autoload.php
|-- core
|-- index.php
|-- libraries
| `-- youtube
| `-- youtube
| |-- images
| |-- lang
| `-- plugin.js
|-- modules
| `-- contrib
| |-- ckeditor_youtube
| | |-- ckeditor_youtube.info.yml
| | |-- ...
| | `-- src
|-- profiles
|-- robots.txt
|-- sites
|-- themes
|-- update.php
`-- web.config
Usage
Go to the Text formats and editors settings (/admin/config/content/formats) and
add the YouTube Button to any CKEditor-enabled text format you want.
Credits
Initial development and maintenance by Agaric.
Project information
- Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues. - Module categories: Media
- Ecosystem: CKEditor Libraries Group, CKEditor 4 - WYSIWYG HTML editor
- 4,819 sites report using this module
- Created by dinarcon on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Adding Drupal 10 compatibility
Development version: 8.x-1.x-dev updated 15 Dec 2022 at 01:53 UTC