mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
udpate
This commit is contained in:
parent
2f89498789
commit
2da55b4ae7
70 changed files with 6454 additions and 18078 deletions
|
@ -1,3 +1,16 @@
|
|||
<a name="7.21.4"></a>
|
||||
## [7.21.4](https://github.com/videojs/video.js/compare/v7.21.3...v7.21.4) (2023-03-15)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **lang:** updated Japanese translations ([#8194](https://github.com/videojs/video.js/issues/8194)) ([7eed745](https://github.com/videojs/video.js/commit/7eed745))
|
||||
* replay button broken for native playback ([#8142](https://github.com/videojs/video.js/issues/8142)) ([#8183](https://github.com/videojs/video.js/issues/8183)) ([bda2b06](https://github.com/videojs/video.js/commit/bda2b06))
|
||||
|
||||
### Chores
|
||||
|
||||
* **documentation:** Update release flow in collaborator guide md ([#8166](https://github.com/videojs/video.js/issues/8166)) ([2e939e2](https://github.com/videojs/video.js/commit/2e939e2))
|
||||
* use next-7 tag instead of next tag for 7x version during npm publish ([#8164](https://github.com/videojs/video.js/issues/8164)) ([852493d](https://github.com/videojs/video.js/commit/852493d))
|
||||
|
||||
<a name="7.21.3"></a>
|
||||
## [7.21.3](https://github.com/videojs/video.js/compare/v7.21.2...v7.21.3) (2023-02-27)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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.21.3";
|
||||
var version = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -24467,7 +24467,8 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -24484,7 +24485,7 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -24492,7 +24493,14 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -38,7 +38,7 @@ var vtt__default = /*#__PURE__*/_interopDefaultLegacy(vtt);
|
|||
var _construct__default = /*#__PURE__*/_interopDefaultLegacy(_construct);
|
||||
var _inherits__default = /*#__PURE__*/_interopDefaultLegacy(_inherits);
|
||||
|
||||
var version = "7.21.3";
|
||||
var version = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -24483,7 +24483,8 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -24500,7 +24501,7 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -24508,7 +24509,14 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -16,7 +16,7 @@
|
|||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.videojs = factory());
|
||||
}(this, (function () { 'use strict';
|
||||
|
||||
var version = "7.21.3";
|
||||
var version = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -26968,7 +26968,8 @@
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -26985,7 +26986,7 @@
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -26993,7 +26994,14 @@
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -16,7 +16,7 @@
|
|||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.videojs = factory());
|
||||
}(this, (function () { 'use strict';
|
||||
|
||||
var version = "7.21.3";
|
||||
var version = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -25095,7 +25095,8 @@
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -25112,7 +25113,7 @@
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -25120,7 +25121,14 @@
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -16,7 +16,7 @@
|
|||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.videojs = factory());
|
||||
}(this, (function () { 'use strict';
|
||||
|
||||
var version$5 = "7.21.3";
|
||||
var version$5 = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -26968,7 +26968,8 @@
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -26985,7 +26986,7 @@
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -26993,7 +26994,14 @@
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -16,7 +16,7 @@
|
|||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.videojs = factory());
|
||||
}(this, (function () { 'use strict';
|
||||
|
||||
var version$5 = "7.21.3";
|
||||
var version$5 = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -25095,7 +25095,8 @@
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -25112,7 +25113,7 @@
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -25120,7 +25121,14 @@
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9,8 +9,8 @@ videojs.addLanguage('ja', {
|
|||
"Remaining Time": "残りの時間",
|
||||
"Stream Type": "ストリームの種類",
|
||||
"LIVE": "ライブ",
|
||||
"Seek to live, currently behind live": "ライブまでシーク、現在、ライブより遅れています",
|
||||
"Seek to live, currently playing live": "ライブまでシーク、現在、ライブより遅れています",
|
||||
"Seek to live, currently behind live": "ライブまで再生位置を指定、現在ライブが遅れています。",
|
||||
"Seek to live, currently playing live": "ライブまで再生位置を指定、現在ライブ中。",
|
||||
"Loaded": "ロード済み",
|
||||
"Progress": "進行状況",
|
||||
"Progress Bar": "シークバー",
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
"Remaining Time": "残りの時間",
|
||||
"Stream Type": "ストリームの種類",
|
||||
"LIVE": "ライブ",
|
||||
"Seek to live, currently behind live": "ライブまでシーク、現在、ライブより遅れています",
|
||||
"Seek to live, currently playing live": "ライブまでシーク、現在、ライブより遅れています",
|
||||
"Seek to live, currently behind live": "ライブまで再生位置を指定、現在ライブが遅れています。",
|
||||
"Seek to live, currently playing live": "ライブまで再生位置を指定、現在ライブ中。",
|
||||
"Loaded": "ロード済み",
|
||||
"Progress": "進行状況",
|
||||
"Progress Bar": "シークバー",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -52,7 +52,7 @@ var _resolveUrl__default = /*#__PURE__*/_interopDefaultLegacy(_resolveUrl);
|
|||
var parseSidx__default = /*#__PURE__*/_interopDefaultLegacy(parseSidx);
|
||||
var _wrapNativeSuper__default = /*#__PURE__*/_interopDefaultLegacy(_wrapNativeSuper);
|
||||
|
||||
var version$5 = "7.21.3";
|
||||
var version$5 = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -24497,7 +24497,8 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -24514,7 +24515,7 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -24522,7 +24523,14 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -33,7 +33,7 @@ import { detectContainerForBytes, isLikelyFmp4MediaSegment } from '@videojs/vhs-
|
|||
import { ONE_SECOND_IN_TS } from 'mux.js/lib/utils/clock';
|
||||
import _wrapNativeSuper from '@babel/runtime/helpers/wrapNativeSuper';
|
||||
|
||||
var version$5 = "7.21.3";
|
||||
var version$5 = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -24478,7 +24478,8 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -24495,7 +24496,7 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -24503,7 +24504,14 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -16,7 +16,7 @@
|
|||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.videojs = factory());
|
||||
}(this, (function () { 'use strict';
|
||||
|
||||
var version$5 = "7.21.3";
|
||||
var version$5 = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -26968,7 +26968,8 @@
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -26985,7 +26986,7 @@
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -26993,7 +26994,14 @@
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "video.js",
|
||||
"description": "An HTML5 video player that supports HLS and DASH with a common API and skin.",
|
||||
"version": "7.21.3",
|
||||
"version": "7.21.4",
|
||||
"main": "./dist/video.cjs.js",
|
||||
"module": "./dist/video.es.js",
|
||||
"style": "./dist/video-js.css",
|
||||
|
|
|
@ -1,3 +1,16 @@
|
|||
<a name="7.21.4"></a>
|
||||
## [7.21.4](https://github.com/videojs/video.js/compare/v7.21.3...v7.21.4) (2023-03-15)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **lang:** updated Japanese translations ([#8194](https://github.com/videojs/video.js/issues/8194)) ([7eed745](https://github.com/videojs/video.js/commit/7eed745))
|
||||
* replay button broken for native playback ([#8142](https://github.com/videojs/video.js/issues/8142)) ([#8183](https://github.com/videojs/video.js/issues/8183)) ([bda2b06](https://github.com/videojs/video.js/commit/bda2b06))
|
||||
|
||||
### Chores
|
||||
|
||||
* **documentation:** Update release flow in collaborator guide md ([#8166](https://github.com/videojs/video.js/issues/8166)) ([2e939e2](https://github.com/videojs/video.js/commit/2e939e2))
|
||||
* use next-7 tag instead of next tag for 7x version during npm publish ([#8164](https://github.com/videojs/video.js/issues/8164)) ([852493d](https://github.com/videojs/video.js/commit/852493d))
|
||||
|
||||
<a name="7.21.3"></a>
|
||||
## [7.21.3](https://github.com/videojs/video.js/compare/v7.21.2...v7.21.3) (2023-02-27)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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.21.3";
|
||||
var version = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -24467,7 +24467,8 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -24484,7 +24485,7 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -24492,7 +24493,14 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
18
node_modules/videojs-ima/node_modules/videojs-contrib-ads/node_modules/video.js/core.js
generated
vendored
18
node_modules/videojs-ima/node_modules/videojs-contrib-ads/node_modules/video.js/core.js
generated
vendored
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -38,7 +38,7 @@ var vtt__default = /*#__PURE__*/_interopDefaultLegacy(vtt);
|
|||
var _construct__default = /*#__PURE__*/_interopDefaultLegacy(_construct);
|
||||
var _inherits__default = /*#__PURE__*/_interopDefaultLegacy(_inherits);
|
||||
|
||||
var version = "7.21.3";
|
||||
var version = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -24483,7 +24483,8 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -24500,7 +24501,7 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -24508,7 +24509,14 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -16,7 +16,7 @@
|
|||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.videojs = factory());
|
||||
}(this, (function () { 'use strict';
|
||||
|
||||
var version = "7.21.3";
|
||||
var version = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -26968,7 +26968,8 @@
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -26985,7 +26986,7 @@
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -26993,7 +26994,14 @@
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -16,7 +16,7 @@
|
|||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.videojs = factory());
|
||||
}(this, (function () { 'use strict';
|
||||
|
||||
var version = "7.21.3";
|
||||
var version = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -25095,7 +25095,8 @@
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -25112,7 +25113,7 @@
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -25120,7 +25121,14 @@
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -16,7 +16,7 @@
|
|||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.videojs = factory());
|
||||
}(this, (function () { 'use strict';
|
||||
|
||||
var version$5 = "7.21.3";
|
||||
var version$5 = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -26968,7 +26968,8 @@
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -26985,7 +26986,7 @@
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -26993,7 +26994,14 @@
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -16,7 +16,7 @@
|
|||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.videojs = factory());
|
||||
}(this, (function () { 'use strict';
|
||||
|
||||
var version$5 = "7.21.3";
|
||||
var version$5 = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -25095,7 +25095,8 @@
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -25112,7 +25113,7 @@
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -25120,7 +25121,14 @@
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9,8 +9,8 @@ videojs.addLanguage('ja', {
|
|||
"Remaining Time": "残りの時間",
|
||||
"Stream Type": "ストリームの種類",
|
||||
"LIVE": "ライブ",
|
||||
"Seek to live, currently behind live": "ライブまでシーク、現在、ライブより遅れています",
|
||||
"Seek to live, currently playing live": "ライブまでシーク、現在、ライブより遅れています",
|
||||
"Seek to live, currently behind live": "ライブまで再生位置を指定、現在ライブが遅れています。",
|
||||
"Seek to live, currently playing live": "ライブまで再生位置を指定、現在ライブ中。",
|
||||
"Loaded": "ロード済み",
|
||||
"Progress": "進行状況",
|
||||
"Progress Bar": "シークバー",
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
"Remaining Time": "残りの時間",
|
||||
"Stream Type": "ストリームの種類",
|
||||
"LIVE": "ライブ",
|
||||
"Seek to live, currently behind live": "ライブまでシーク、現在、ライブより遅れています",
|
||||
"Seek to live, currently playing live": "ライブまでシーク、現在、ライブより遅れています",
|
||||
"Seek to live, currently behind live": "ライブまで再生位置を指定、現在ライブが遅れています。",
|
||||
"Seek to live, currently playing live": "ライブまで再生位置を指定、現在ライブ中。",
|
||||
"Loaded": "ロード済み",
|
||||
"Progress": "進行状況",
|
||||
"Progress Bar": "シークバー",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -52,7 +52,7 @@ var _resolveUrl__default = /*#__PURE__*/_interopDefaultLegacy(_resolveUrl);
|
|||
var parseSidx__default = /*#__PURE__*/_interopDefaultLegacy(parseSidx);
|
||||
var _wrapNativeSuper__default = /*#__PURE__*/_interopDefaultLegacy(_wrapNativeSuper);
|
||||
|
||||
var version$5 = "7.21.3";
|
||||
var version$5 = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -24497,7 +24497,8 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -24514,7 +24515,7 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -24522,7 +24523,14 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -33,7 +33,7 @@ import { detectContainerForBytes, isLikelyFmp4MediaSegment } from '@videojs/vhs-
|
|||
import { ONE_SECOND_IN_TS } from 'mux.js/lib/utils/clock';
|
||||
import _wrapNativeSuper from '@babel/runtime/helpers/wrapNativeSuper';
|
||||
|
||||
var version$5 = "7.21.3";
|
||||
var version$5 = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -24478,7 +24478,8 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -24495,7 +24496,7 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -24503,7 +24504,14 @@ var Player = /*#__PURE__*/function (_Component) {
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @license
|
||||
* Video.js 7.21.3 <http://videojs.com/>
|
||||
* Video.js 7.21.4 <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>
|
||||
|
@ -16,7 +16,7 @@
|
|||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.videojs = factory());
|
||||
}(this, (function () { 'use strict';
|
||||
|
||||
var version$5 = "7.21.3";
|
||||
var version$5 = "7.21.4";
|
||||
|
||||
/**
|
||||
* An Object that contains lifecycle hooks as keys which point to an array
|
||||
|
@ -26968,7 +26968,8 @@
|
|||
}
|
||||
|
||||
this.playCallbacks_.push(callback);
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc())); // treat calls to play_ somewhat like the `one` event function
|
||||
var isSrcReady = Boolean(!this.changingSrc_ && (this.src() || this.currentSrc()));
|
||||
var isSafariOrIOS = Boolean(IS_ANY_SAFARI || IS_IOS); // treat calls to play_ somewhat like the `one` event function
|
||||
|
||||
if (this.waitToPlay_) {
|
||||
this.off(['ready', 'loadstart'], this.waitToPlay_);
|
||||
|
@ -26985,7 +26986,7 @@
|
|||
this.one(['ready', 'loadstart'], this.waitToPlay_); // if we are in Safari, there is a high chance that loadstart will trigger after the gesture timeperiod
|
||||
// in that case, we need to prime the video element by calling load so it'll be ready in time
|
||||
|
||||
if (!isSrcReady && (IS_ANY_SAFARI || IS_IOS)) {
|
||||
if (!isSrcReady && isSafariOrIOS) {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
@ -26993,7 +26994,14 @@
|
|||
} // If the player/tech is ready and we have a source, we can attempt playback.
|
||||
|
||||
|
||||
var val = this.techGet_('play'); // play was terminated if the returned value is null
|
||||
var val = this.techGet_('play'); // For native playback, reset the progress bar if we get a play call from a replay.
|
||||
|
||||
var isNativeReplay = isSafariOrIOS && this.hasClass('vjs-ended');
|
||||
|
||||
if (isNativeReplay) {
|
||||
this.resetProgressBar_();
|
||||
} // play was terminated if the returned value is null
|
||||
|
||||
|
||||
if (val === null) {
|
||||
this.runPlayTerminatedQueue_();
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "video.js",
|
||||
"description": "An HTML5 video player that supports HLS and DASH with a common API and skin.",
|
||||
"version": "7.21.3",
|
||||
"version": "7.21.4",
|
||||
"main": "./dist/video.cjs.js",
|
||||
"module": "./dist/video.es.js",
|
||||
"style": "./dist/video-js.css",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue