How to Embed Videos with a Simple Token using Video Filter

The Video Filter module allows you to easily embed videos into Drupal sites using a simple token. The embed code for YouTube and many other video sites is an iframe tag. By default, Drupal will filter out any iframe code if anonymous or authenticated users use the Filtered HTML text format.

Bottom line is you don’t want users to simply paste in iframe code into Drupal.

By using Video Filter users can easily embed videos from YouTube by pasting in a token instead of an iframe. This is a perfect solution for a community website built in Drupal, especially if you allow users to participate in a forum.

Modules

drush dl video_filter
drush en video_filter

Resources

Scroll to Top