Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)