new VideoPlayer(el) → {VideoPlayer}
- Source:
Handles the videos... via plyr
Example
html:
<div class="plyr__video-embed c-info-item__thumbnail" data-ui="VideoPlayer">
<iframe src="https://player.vimeo.com/video/76979871?loop=false&byline=false&portrait=false&title=false&speed=true&transparent=0&gesture=media" allowfullscreen allowtransparency allow="autoplay"></iframe>
</div>
Parameters:
Name | Type | Description |
---|---|---|
el |
HTMLElement | the node to bind to |
Returns:
- Type
- VideoPlayer
Methods
(static) unmount() → {void}
- Source:
Destroy the player
Returns:
- Type
- void