mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +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
18
node_modules/videojs-contrib-ads/docs/integrator/migration-guides/migrating-to-4.0.md
generated
vendored
Normal file
18
node_modules/videojs-contrib-ads/docs/integrator/migration-guides/migrating-to-4.0.md
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Migrating to videojs-contrib-ads 4.0.0
|
||||
|
||||
Version 4 of videojs-contrib-ads is mainly about improving code quality. Functional
|
||||
changes are in support of that effort.
|
||||
|
||||
## Migration
|
||||
|
||||
* A `playing` event is no longer sent before a preroll ad. This is because a `playing`
|
||||
event should only be sent when content actually plays. If your ad plugin relies on
|
||||
this event being fired at this time, consider another solution.
|
||||
* Contrib-ads expects your plugin to send a "playing" event when an ad starts playing,
|
||||
which will be redispatched as "adplaying". This may happen automatically, for example,
|
||||
if you play your ad in the content's `video` element.
|
||||
* The `contentplayback` event has been removed. Use `playing` instead.
|
||||
* `videojs.ads.global.js` and `videojs.ads.global.min.js` have been removed. Use
|
||||
`videojs.ads.js` or `videojs.ads.min.js` instead.
|
||||
* `videojs.ads.css` is now available in the `dist` folder rather than the `src` folder.
|
||||
Your ad plugin should be updated to include it from there.
|
Loading…
Add table
Add a link
Reference in a new issue