mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
Moving to node_modules folder to make easier to upgrade
trying to move from Bootstrap 3 to Bootstrap 5
This commit is contained in:
parent
047e363a16
commit
d4d042e041
8460 changed files with 1355889 additions and 547977 deletions
37
node_modules/videojs-contrib-ads/docs/integrator/common-interface.md
generated
vendored
Normal file
37
node_modules/videojs-contrib-ads/docs/integrator/common-interface.md
generated
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Common Interface
|
||||
|
||||
videojs-contrib-ads does not implement these. This page establishes a convention used some some ad plugins that you may want to consider sending for consistency as they may be useful.
|
||||
|
||||
## Events
|
||||
|
||||
* `ads-request`: Fired when ad data is requested.
|
||||
* `ads-load`: Fired when ad data is available following an ad request.
|
||||
* `ads-pod-started`: Fired when a LINEAR ad pod has started.
|
||||
* `ads-pod-ended`: Fired when a LINEAR ad pod has completed.
|
||||
* `ads-allpods-completed`: Fired when all LINEAR ads are completed.
|
||||
* `ads-ad-started`: Fired when the ad starts playing. Should include the event parameter `indexInBreak`.
|
||||
* `ads-ad-ended`: Fired when the ad completes playing.
|
||||
* `ads-first-quartile`: Fired when the ad playhead crosses first quartile.
|
||||
* `ads-midpoint`: Fired when the ad playhead crosses midpoint.
|
||||
* `ads-third-quartile`: Fired when the ad playhead crosses third quartile.
|
||||
* `ads-pause`: Fired when the ad is paused.
|
||||
* `ads-play`: Fired when the ad is resumed.
|
||||
* `ads-mute`: Fired when the ad volume has been muted.
|
||||
* `ads-click`: Fired when the ad is clicked.
|
||||
|
||||
## Properties
|
||||
|
||||
```js
|
||||
player.ads.provider = {
|
||||
"type": `String`,
|
||||
"event": `Object`
|
||||
}
|
||||
|
||||
player.ads.ad = {
|
||||
"type": `String`,
|
||||
"index": `Number`,
|
||||
"id": `String`,
|
||||
"duration": `Number`,
|
||||
"currentTime": `Function`
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue