Skip to content

Commit

Permalink
IE7 support (manual change only)
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Motto committed Dec 14, 2013
1 parent e54c816 commit 9029ab9
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# FluidVids.js [![Build Status](https://travis-ci.org/toddmotto/fluidvids.png)](https://travis-ci.org/toddmotto/fluidvids)

FluidVids is a raw JavaScript solution for responsive and fluid YouTube and Vimeo video embeds. It's extremely lightweight, and comes with a minified version for production environments. FluidVids comes preconfigured to make YouTube and Vimeo videos fluid, but you can add more as you please. You don't need to call FluidVids, it will just work its magic on video embeds automatically.
FluidVids is a raw JavaScript solution for responsive and fluid YouTube and Vimeo video embeds. It's extremely lightweight, and comes with a minified version for production environments. FluidVids supports IE8+, need [IE7 Support?](#ie7).

## Demo
Check out a [demo of FluidVids](https://toddmotto.com/labs/fluidvids).
Expand Down Expand Up @@ -38,6 +38,19 @@ To install FluidVids into your project using Bower, use the GitHub repository ho
bower install https://github.com/toddmotto/fluidvids.git
```

## IE7
For IE7 support, you lose a custom selector and need to default to getting elements by tag name. Change this:

```
var nodes = document.querySelectorAll(selector);
```

To this:

```
var nodes = document.getElementsByTagName(selector);
```

## Scaffolding
Project files and folder structure.

Expand Down

0 comments on commit 9029ab9

Please sign in to comment.