Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Release v0.12.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Feb 16:02
3c6de0e
VideoEl-Events

This release contains videoEl-Events based on the callback functions:

 - `plugin-endcard:revolverplay` -> `onRevolverplayCallback`
 - `plugin-endcard:click-to-play` -> `onClickToPlayCallback`
 - `plugin-endcard:click-to-replay` -> `onClickToReplayCallback`
 - `plugin-endcard:revolverplay-pause` -> `onRevolverplayPauseCallback`
 - `plugin-endcard:show` -> `onLoadedCallback`

You can subscribe to such an event like this:

```javascript
videoEl.addEventListener('plugin-endcard:show', () => {
  console.log('plugin-endcard:show event triggered');
});
```