video-view - Vaadin Add-on Directory
The coponent that play videos from youtube, vimeo, mp4 and webm urls
**[ This description is mirrored from README.md at [github.com/Borjagodoy/video-view](https://github.com//Borjagodoy/video-view/blob/v0.1.3/README.md) on 2019-05-10 ]**
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/owner/my-element)
# \
The video view, search play all urls form youtube, vimeo or url with extensions .mp4 or webm. for example:
### Youtube video
```html
```
### Vimeo video
```html
```
### Others video
```html
```
# To Use
Import the component
```html
```
Use the tag component
```html
```
```html
```
## Properties
property | Description | Default
----------------|-------------|----------
`url` | Video url |
`width` | width of the video box | `320px`
`height` | height of the video box | `400px`
### Styling
The following custom properties and mixins are available for styling:
Custom property | Description | Default
----------------|-------------|----------
`--video-height` | height of the video box | `400px`
`--video-width` | width of the video box | `320px`
## TestComponent
### Install the Polymer-CLI
First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your element locally.
## Viewing video-view Element
```
$ polymer serve
```
GitHub HomepageIssue tracker
Documentation
View on GitHub
Online Demo
video-view version 0.1
### Dependencies
* polymer#Polymer/polymer#^2.0.0-rc.2
video-view version 0.1.0
### Dependencies
* polymer#Polymer/polymer#^2.0.0-rc.2
video-view version 0.1.1
### Dependencies
* polymer#Polymer/polymer#^2.0.0-rc.2
video-view version 0.1.2
### Dependencies
* polymer#Polymer/polymer#^2.0.0-rc.2
video-view version 0.1.3
### Dependencies
* polymer#Polymer/polymer#^2.0.0-rc.2