Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djalmaaraujo/vimeo-embed
Vimeo Custom element
https://github.com/djalmaaraujo/vimeo-embed
Last synced: 30 days ago
JSON representation
Vimeo Custom element
- Host: GitHub
- URL: https://github.com/djalmaaraujo/vimeo-embed
- Owner: djalmaaraujo
- Created: 2013-08-22T23:08:41.000Z (about 11 years ago)
- Default Branch: gh-pages
- Last Pushed: 2013-09-27T12:45:07.000Z (about 11 years ago)
- Last Synced: 2024-04-13T11:00:06.329Z (7 months ago)
- Size: 148 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# <vimeo-embed>
Web Component wrapper for Vimeo's player using Polymer.
> Maintained by [Djalma Araújo](https://github.com/djalmaaraujo).
## Demo
> [Check it live](http://djalmaaraujo.github.io/vimeo-embed/).
## Usage
1. Import Web Components' polyfill:
```html
```2. Import Custom Element:
```html
```3. Start using it!
```html
```## Options
Attribute | Options | Default | Description
--- | --- | --- | ---
`videoid` | *int* | `` | **Required** ID specifies the vimeo URL
`width` | `int`, | | iframe width
`height` | `int`, | | iframe height
`frameborder` | `int`, | 0 | iframe border> See vimeo' [official documentation](http://developer.vimeo.com/player/embedding#universal-parameters) for more parameters.
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -m 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## License
[MIT License](http://opensource.org/licenses/MIT)