Recommended releases
Download | Released | |
---|---|---|
1.x-1.17.1 (227.18 KB) | Jul 17th, 2024 | Notes |
⚠️ This module is minimally maintained. A more modern approach can be
found in the fitFrames module
which can be used for embedded videos or any other type of iframed content.
Description
This module uses the FitVids.js library for fluid width video embeds. It supports YouTube, Vimeo, Blip.tv and Kickstarter by default, and you should be able to use it with other video providers. You don't need it for pure HTML5 videos.
It's useful if you are using a responsive theme 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 on the page.
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).
Issues
Bugs and Feature requests should be reported in the
Issue Queue
Current Maintainers
Credits
- Ported to Backdrop CMS by Laryn Kragt Bakker
- Port to Backdrop was sponsored by CEDC.org.
- Maintained for Drupal by Derek Ahmedzai.
- The original FitVids script was written by Dave Rupert.
License
This project is GPL v2 software. See the LICENSE.txt file in this directory for
complete text.