Same filename and directory in other branches
  1. 2.0.x README.txt 1 comment
  2. 7.x-1.4 README.txt 1 comment
  3. 8.x-1.x README.txt 1 comment
DESCRIPTION
-----------

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

It supports YouTube, Vimeo, Blip.tv and Kickstarter by default, and you should be able to use it with other video providers.

It's useful if you are using a responsive theme (such as Omega), 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).


REQUIREMENTS & INSTALLATION
---------------------------

Uses the Libraries API. 

You'll also need to download the jQuery plugin from https://raw.github.com/davatron5000/FitVids.js/master/jquery.fitvids.js before you can enable the module. 

Place it in the /sites/all/libraries/fitvids folder. 

Works best with jQuery 1.7 or above (use jquery_update or add a newer version to your theme manually), but you should be OK with the version that ships with Drupal.

File

./README.txt

View source
  1. DESCRIPTION
  2. -----------
  3. This module uses the FitVids.js library for fluid width video embeds (e.g. flash video in s). You don't need it for pure HTML5 videos.
  4. It supports YouTube, Vimeo, Blip.tv and Kickstarter by default, and you should be able to use it with other video providers.
  5. It's useful if you are using a responsive theme (such as Omega), and want the videos to scale.
  6. CONFIGURATION
  7. -------------
  8. # jQuery selectors
  9. You can usually use the defaults. It assumes that you'll want to apply it to all videos on the page.
  10. 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.,
  11. ~~~
  12. #my-video-container
  13. .content
  14. body
  15. ~~~
  16. You can specify as many containers as you want.
  17. # Video providers
  18. Not all players will work with FitVids, but you can try it out by adding the domain (in the Custom iframe URLs field).
  19. REQUIREMENTS & INSTALLATION
  20. ---------------------------
  21. Uses the Libraries API.
  22. You'll also need to download the jQuery plugin from https://raw.github.com/davatron5000/FitVids.js/master/jquery.fitvids.js before you can enable the module.
  23. Place it in the /sites/all/libraries/fitvids folder.
  24. Works best with jQuery 1.7 or above (use jquery_update or add a newer version to your theme manually), but you should be OK with the version that ships with Drupal.