Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stroeer/stroeer-videoplayer-ivad-plugin
https://github.com/stroeer/stroeer-videoplayer-ivad-plugin
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/stroeer/stroeer-videoplayer-ivad-plugin
- Owner: stroeer
- Created: 2021-03-01T10:14:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-08T01:40:33.000Z (almost 2 years ago)
- Last Synced: 2024-04-26T13:04:58.872Z (8 months ago)
- Language: TypeScript
- Size: 93.9 MB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ströer Videoplayer Plugin Interactive Video Ads
===============================================## Development
Install via dependencies via `yarn --dev`.
Build via `yarn run build`. Lint via `yarn run lint`. Test via `yarn run test`.
See coverage with `yarn run test --coverage`.
## Usage
### Events
- IVADerror
- IVADimpression
- IVADpause
- IVADresume
- IVADclick
- IVADmute
- IVADunmute
- IVADfullscreen
- IVADexitFullscreen
- IVADfirstQuartile
- IVADmidpoint
- IVADthirdQuartile
- IVADended### Basic Markup
```html
StroeerVideoplayer.registerUI(StroeerVideoplayerDefaultUI);
StroeerVideoplayer.registerUI(StroeerVideoplayerIvadUI)
StroeerVideoplayer.registerPlugin(StroeerVideoplayerIvadPlugin)
const video = document.getElementById('myvideoplayer1')
const myvideoplayer1 = new StroeerVideoplayer(video)
myvideoplayer1.loadStreamSource()
myvideoplayer1.initPlugin('ivad')```