1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 18:29:39 +02:00

add inputmask

This commit is contained in:
DanieL 2022-09-21 13:51:50 -03:00
parent ab84f1e730
commit e07838c6c7
203 changed files with 29712 additions and 5216 deletions

30
node_modules/video.js/core.es.js generated vendored
View file

@ -1,6 +1,6 @@
/**
* @license
* Video.js 7.20.2 <http://videojs.com/>
* Video.js 7.20.3 <http://videojs.com/>
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
* Available under Apache License Version 2.0
* <https://github.com/videojs/video.js/blob/main/LICENSE>
@ -22,7 +22,7 @@ import vtt from 'videojs-vtt.js';
import _construct from '@babel/runtime/helpers/construct';
import _inherits from '@babel/runtime/helpers/inherits';
var version = "7.20.2";
var version = "7.20.3";
/**
* An Object that contains lifecycle hooks as keys which point to an array
@ -7781,13 +7781,20 @@ var TextTrack = /*#__PURE__*/function (_Track) {
var cues = new TextTrackCueList(_this.cues_);
var activeCues = new TextTrackCueList(_this.activeCues_);
var changed = false;
_this.timeupdateHandler = bind(_assertThisInitialized(_this), function () {
_this.timeupdateHandler = bind(_assertThisInitialized(_this), function (event) {
if (event === void 0) {
event = {};
}
if (this.tech_.isDisposed()) {
return;
}
if (!this.tech_.isReady_) {
this.rvf_ = this.tech_.requestVideoFrameCallback(this.timeupdateHandler);
if (event.type !== 'timeupdate') {
this.rvf_ = this.tech_.requestVideoFrameCallback(this.timeupdateHandler);
}
return;
} // Accessing this.activeCues for the side-effects of updating itself
// due to its nature as a getter function. Do not remove or cues will
@ -7802,7 +7809,9 @@ var TextTrack = /*#__PURE__*/function (_Track) {
changed = false;
}
this.rvf_ = this.tech_.requestVideoFrameCallback(this.timeupdateHandler);
if (event.type !== 'timeupdate') {
this.rvf_ = this.tech_.requestVideoFrameCallback(this.timeupdateHandler);
}
});
var disposeHandler = function disposeHandler() {
@ -7971,7 +7980,10 @@ var TextTrack = /*#__PURE__*/function (_Track) {
var _proto = TextTrack.prototype;
_proto.startTracking = function startTracking() {
this.rvf_ = this.tech_.requestVideoFrameCallback(this.timeupdateHandler);
// More precise cues based on requestVideoFrameCallback with a requestAnimationFram fallback
this.rvf_ = this.tech_.requestVideoFrameCallback(this.timeupdateHandler); // Also listen to timeupdate in case rVFC/rAF stops (window in background, audio in video el)
this.tech_.on('timeupdate', this.timeupdateHandler);
};
_proto.stopTracking = function stopTracking() {
@ -7979,6 +7991,8 @@ var TextTrack = /*#__PURE__*/function (_Track) {
this.tech_.cancelVideoFrameCallback(this.rvf_);
this.rvf_ = undefined;
}
this.tech_.off('timeupdate', this.timeupdateHandler);
}
/**
* Add a cue to the internal list of cues.
@ -9360,7 +9374,7 @@ var Tech = /*#__PURE__*/function (_Component) {
var id = newGUID();
if (this.paused()) {
if (!this.isReady_ || this.paused()) {
this.queuedHanders_.add(id);
this.one('playing', function () {
if (_this8.queuedHanders_.has(id)) {
@ -26738,7 +26752,7 @@ var Player = /*#__PURE__*/function (_Component) {
/**
* The player's language code.
*
* Changing the langauge will trigger
* Changing the language will trigger
* [languagechange]{@link Player#event:languagechange}
* which Components can use to update control text.
* ClickableComponent will update its control text by default on