Drupal is a registered trademark of Dries Buytaert
cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! linkit 7.0.15 Minor update available for module linkit (7.0.15). views_data_export 8.x-1.10 Minor update available for module views_data_export (8.x-1.10).

url_to_video_filter

317 sites Security covered
View on drupal.org

Overview

This module allows users to paste a URL from various video sharing websites, and upon submission replaces the URL with the video from that URL. The module does this by creating a new text filter, that can be added to any input format (such as Full HTML or Limited HTML). It works much the same as the Convert URLs into links text filter that ships with core, however instead of converting URLs to links, it instead converts the URLs into embedded videos.

Supported Services

Currently this module supports the following services:

  • YouTube
  • Twitter/X (as of 4.0.0-rc2)
  • Vimeo

As of version 4.x.x, video services are plugins, and additional services can be created by implementing new plugins. View the YouTube and Vimeo plugins for examples.

Please open a feature request in the support queue for other services.

Configuration

  1. Install the module as you would any module
  2. Edit or create a new text format at /config/content/formats
  3. Check the Convert URLs to embedded videos checkbox
  4. Select the video sharing services you wish to enable in the filter settings
  5. If you have the Limit allowed HTML tags and correct faulty HTML filter enabled, you will need to add the following in the Allowed HTML tags in the filter settings: <span class data-youtube-id data-twitter-id data-vimeo-id>
  6. If you have enabled the Convert URLs into links filter, ensure that this filter comes before it. Often, this filter should come before any other filters, but you may need to play around with the priority
  7. Create an entity with a text field that uses this filter, and paste a video URL from a service you've enabled directly into the body and save, and the URL will be replaced with the given video. URLs with query strings are supported.

Troubleshooting

If the video is not rendering, you may have to work with changing the order of the filters within the text format. For example, "Limit allowed HTML tags and correct faulty HTML" if enabled must come before "Convert URLs to embedded videos".

Development Roadmap

At this moment, nothing is planned. If you have support requests, please open an issue in the issue queue. New services will be added if they have an API allowing for videos embedded from their service.

Activity

Total releases
6
First release
Apr 2026
Latest release
4 weeks ago
Release cadence
3 days
Stability
33% stable

Release Timeline

Releases

Version Type Release date
4.0.0-rc2 Pre-release Apr 25, 2026
4.0.x-dev Dev Apr 22, 2026
4.0.0-rc1 Pre-release Apr 22, 2026
3.0.1 Stable Apr 9, 2026
3.0.x-dev Dev Apr 9, 2026
3.0.0 Stable Apr 9, 2026