ckeditor5_youtube
The CKEditor 5 YouTube Embed module enhances content creation in Drupal by seamlessly integrating YouTube video embedding into the CKEditor 5 text editor. It provides an intuitive interface for content creators to easily add YouTube videos to their posts, pages, or any content type using CKEditor 5, without needing to manually write embed codes.
Features
- Adds a YouTube embed button to the CKEditor 5 toolbar
- Provides a user-friendly dialog for entering YouTube video URLs
- Allows customization of video display options (e.g., autoplay, controls, start time)
- Maintains a clean content structure by using proper HTML5 embed tags
- Integrates seamlessly with Drupal's text formats and filters
Post-Installation
After installing the module, follow these steps to start using it:
- Go to Administration > Configuration > Content Authoring > Text formats and editors
- Edit the desired text format that uses CKEditor 5 (e.g., "Full HTML")
- In the toolbar configuration, locate the YouTube embed button and add it to your active toolbar
- Save the configuration
Now, when editing content, you'll see a new YouTube button in your CKEditor toolbar. Click it to open the embed dialog, paste your YouTube video URL, adjust any options, and insert the video into your content.
Additional Requirements
This module requires:
- Drupal 9.x, 10.x or 11.x
- CKEditor 5 module (part of Drupal core)
No additional libraries or APIs are needed.
Supporting this Module
If you find this module useful and would like to support its development, you can:
- Submit bug reports and feature requests in the issue queue
- Contribute code or documentation improvements via pull requests
- Spread the word about this module in the Drupal community
For the latest updates and community discussions, follow the project page on Drupal.org.