Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.3.6 Update released for Drupal core (10.3.6)! Release: Drupal 11.0.5 Update released for Drupal core (11.0.5)! Release: Drupal 10.2.9 Update released for Drupal core (10.2.9)! Release: Drupal 10.2.10 Update released for Drupal core (10.2.10)! Release: Drupal 10.3.7 Update released for Drupal core (10.3.7)! Release: Drupal 11.0.6 Update released for Drupal core (11.0.6)! Release: Drupal 10.3.8 Update released for Drupal core (10.3.8)! Release: Drupal 11.0.7 Update released for Drupal core (11.0.7)! Module Revived: Translation Management Tool 8.x-1.19 Module tmgmt updated after 7 months of inactivity (8.x-1.19). Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

FitVids

Security covered
View on drupal.org

If you have a responsive website and you want to embed video and other <iframe> content, then you need this module.

It uses the FitVids.js library for fluid width video embeds (e.g. flash video in <iframe>s). You don't need it for pure HTML5 videos.

It supports YouTube, Vimeo, Blip.tv and Kickstarter by default, and can use it with other video providers like Facebook or Viddler.

It's useful if you are using a responsive theme (such as Bootstrap, AdaptiveTheme, Omega or Zen), and want the videos to scale.

Configuration

jQuery selectors

You can usually use the defaults. It assumes that you'll want to apply it to all videos in a div with class="region". If your theme uses a different class or id, or you only want to target certain videos, you can specify that class/id in the video containers field. You can use any valid jQuery selector, e.g.,

#my-video-container
.content
body

You can specify as many containers as you want.

Video providers

Not all players will work with FitVids, but you can try it out by adding the domain (in the Custom iframe URLs field).

Requirements

Uses the Libraries API.

Required jQuery fitvids plugin. See instructions in readme for full details. Recommended installation method is using the composer merge plugin to include fitvids/composer.libraries.json.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Oct 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
2.1.0 Stable Oct 18, 2024