mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
npm update
This commit is contained in:
parent
0cdd3e9fee
commit
4696ba952f
1437 changed files with 32727 additions and 1248226 deletions
4
node_modules/videojs-ima/src/client-side/player-wrapper.js
generated
vendored
4
node_modules/videojs-ima/src/client-side/player-wrapper.js
generated
vendored
|
@ -145,6 +145,10 @@ const PlayerWrapper = function(player, adsPluginSettings, controller) {
|
|||
this.controller.requestAds.bind(this.controller));
|
||||
}
|
||||
|
||||
if (!this.vjsPlayer.ads) {
|
||||
window.console.warn('You may be using a version of videojs-contrib-ads ' +
|
||||
'that is not compatible with your version of video.js.');
|
||||
}
|
||||
this.vjsPlayer.ads(adsPluginSettings);
|
||||
};
|
||||
|
||||
|
|
5
node_modules/videojs-ima/src/dai/player-wrapper.js
generated
vendored
5
node_modules/videojs-ima/src/dai/player-wrapper.js
generated
vendored
|
@ -50,6 +50,11 @@ const PlayerWrapper = function(player, adsPluginSettings, daiController) {
|
|||
this.vjsPlayer.on('play', this.onPlay.bind(this));
|
||||
this.vjsPlayer.on('seeked', this.onSeekEnd.bind(this));
|
||||
this.vjsPlayer.ready(this.onPlayerReady.bind(this));
|
||||
|
||||
if (!this.vjsPlayer.ads) {
|
||||
window.console.warn('You may be using a version of videojs-contrib-ads ' +
|
||||
'that is not compatible with your version of video.js.');
|
||||
}
|
||||
this.vjsPlayer.ads(adsPluginSettings);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue