Skip to content

Commit

Permalink
Merge branch 'master' of github.com:incraigulous/jquery-vimeo-cover
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Wann committed Apr 21, 2015
2 parents 2ce59c9 + 28ca4b5 commit c73a93a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Check out the demo here: [https://cdn.rawgit.com/incraigulous/jquery-vimeo-cover
````

##How to use it
###Add your placeholder element.
**Add your placeholder element.**

````
<div class="vimeo-cover" vimeo-id="77091919" vimeo-placeholder="http://placehold.it/920x517"></div>
Expand All @@ -22,7 +22,7 @@ Check out the demo here: [https://cdn.rawgit.com/incraigulous/jquery-vimeo-cover
**vimeo-id:** The Vimeo ID. You can get this from the Vimeo video URL.
**vimeo-placeholder:** The path to your placeholder image.

###Instantiate a new VimeoCover object and pass in your element. You can also pass an options object as your second parameter but this is optional.
**Instantiate a new VimeoCover object and pass in your element. You can also pass an options object as your second parameter but this is optional.**


````javascript
Expand All @@ -41,4 +41,4 @@ $('.vimeo-cover').each(function(index, el) {

#####Options

**selector:** The vimeo-cover selector. This is used to target all videos on the page to make sure only one video plays at a time. *Default: .vimeo-cover*
**selector:** The vimeo-cover selector. This is used to target all videos on the page to make sure only one video plays at a time. *Default: .vimeo-cover*

0 comments on commit c73a93a

Please sign in to comment.