mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
add inputmask
This commit is contained in:
parent
ab84f1e730
commit
e07838c6c7
203 changed files with 29712 additions and 5216 deletions
53
node_modules/@videojs/http-streaming/dist/videojs-http-streaming-sync-workers.js
generated
vendored
53
node_modules/@videojs/http-streaming/dist/videojs-http-streaming-sync-workers.js
generated
vendored
|
@ -1,4 +1,4 @@
|
|||
/*! @name @videojs/http-streaming @version 2.14.2 @license Apache-2.0 */
|
||||
/*! @name @videojs/http-streaming @version 2.14.3 @license Apache-2.0 */
|
||||
(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('video.js'), require('@xmldom/xmldom')) :
|
||||
typeof define === 'function' && define.amd ? define(['exports', 'video.js', '@xmldom/xmldom'], factory) :
|
||||
|
@ -9928,7 +9928,7 @@
|
|||
return fn;
|
||||
};
|
||||
|
||||
/* rollup-plugin-worker-factory start for worker!/Users/bclifford/Code/vhs-release-test/src/transmuxer-worker.js */
|
||||
/* rollup-plugin-worker-factory start for worker!/Users/abarstow/videojs/http-streaming/src/transmuxer-worker.js */
|
||||
var workerCode$1 = transform(function (self) {
|
||||
/**
|
||||
* mux.js
|
||||
|
@ -18731,7 +18731,7 @@
|
|||
};
|
||||
});
|
||||
var TransmuxWorker = factory(workerCode$1);
|
||||
/* rollup-plugin-worker-factory end for worker!/Users/bclifford/Code/vhs-release-test/src/transmuxer-worker.js */
|
||||
/* rollup-plugin-worker-factory end for worker!/Users/abarstow/videojs/http-streaming/src/transmuxer-worker.js */
|
||||
|
||||
var handleData_ = function handleData_(event, transmuxedData, callback) {
|
||||
var _event$data$segment = event.data.segment,
|
||||
|
@ -25606,7 +25606,12 @@
|
|||
var segmentInfo = this.pendingSegment_; // although the VTT segment loader bandwidth isn't really used, it's good to
|
||||
// maintain functionality between segment loaders
|
||||
|
||||
this.saveBandwidthRelatedStats_(segmentInfo.duration, simpleSegment.stats);
|
||||
this.saveBandwidthRelatedStats_(segmentInfo.duration, simpleSegment.stats); // if this request included a segment key, save that data in the cache
|
||||
|
||||
if (simpleSegment.key) {
|
||||
this.segmentKey(simpleSegment.key, true);
|
||||
}
|
||||
|
||||
this.state = 'APPENDING'; // used for tests
|
||||
|
||||
this.trigger('appending');
|
||||
|
@ -26545,7 +26550,7 @@
|
|||
return TimelineChangeController;
|
||||
}(videojs__default["default"].EventTarget);
|
||||
|
||||
/* rollup-plugin-worker-factory start for worker!/Users/bclifford/Code/vhs-release-test/src/decrypter-worker.js */
|
||||
/* rollup-plugin-worker-factory start for worker!/Users/abarstow/videojs/http-streaming/src/decrypter-worker.js */
|
||||
var workerCode = transform(function (self) {
|
||||
|
||||
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
||||
|
@ -27262,7 +27267,7 @@
|
|||
};
|
||||
});
|
||||
var Decrypter = factory(workerCode);
|
||||
/* rollup-plugin-worker-factory end for worker!/Users/bclifford/Code/vhs-release-test/src/decrypter-worker.js */
|
||||
/* rollup-plugin-worker-factory end for worker!/Users/abarstow/videojs/http-streaming/src/decrypter-worker.js */
|
||||
|
||||
/**
|
||||
* Convert the properties of an HLS track into an audioTrackKind.
|
||||
|
@ -31091,7 +31096,7 @@
|
|||
initPlugin(this, options);
|
||||
};
|
||||
|
||||
var version$4 = "2.14.2";
|
||||
var version$4 = "2.14.3";
|
||||
|
||||
var version$3 = "6.0.1";
|
||||
|
||||
|
@ -32114,12 +32119,34 @@
|
|||
audioMedia: audioPlaylistLoader && audioPlaylistLoader.media()
|
||||
});
|
||||
this.player_.tech_.on('keystatuschange', function (e) {
|
||||
if (e.status === 'output-restricted') {
|
||||
_this5.masterPlaylistController_.blacklistCurrentPlaylist({
|
||||
playlist: _this5.masterPlaylistController_.media(),
|
||||
message: "DRM keystatus changed to " + e.status + ". Playlist will fail to play. Check for HDCP content.",
|
||||
blacklistDuration: Infinity
|
||||
});
|
||||
if (e.status !== 'output-restricted') {
|
||||
return;
|
||||
}
|
||||
|
||||
var masterPlaylist = _this5.masterPlaylistController_.master();
|
||||
|
||||
if (!masterPlaylist || !masterPlaylist.playlists) {
|
||||
return;
|
||||
}
|
||||
|
||||
var excludedHDPlaylists = []; // Assume all HD streams are unplayable and exclude them from ABR selection
|
||||
|
||||
masterPlaylist.playlists.forEach(function (playlist) {
|
||||
if (playlist && playlist.attributes && playlist.attributes.RESOLUTION && playlist.attributes.RESOLUTION.height >= 720) {
|
||||
if (!playlist.excludeUntil || playlist.excludeUntil < Infinity) {
|
||||
playlist.excludeUntil = Infinity;
|
||||
excludedHDPlaylists.push(playlist);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
if (excludedHDPlaylists.length) {
|
||||
var _videojs$log;
|
||||
|
||||
(_videojs$log = videojs__default["default"].log).warn.apply(_videojs$log, ['DRM keystatus changed to "output-restricted." Removing the following HD playlists ' + 'that will most likely fail to play and clearing the buffer. ' + 'This may be due to HDCP restrictions on the stream and the capabilities of the current device.'].concat(excludedHDPlaylists)); // Clear the buffer before switching playlists, since it may already contain unplayable segments
|
||||
|
||||
|
||||
_this5.masterPlaylistController_.fastQualityChange_();
|
||||
}
|
||||
});
|
||||
this.handleWaitingForKey_ = this.handleWaitingForKey_.bind(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue