@gcorevideo/player 2.22.5 → 2.22.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/media-control/media-control.ejs +1 -2
- package/dist/core.js +2 -2
- package/dist/index.css +1432 -1432
- package/dist/index.js +127 -91
- package/dist/plugins/index.css +1495 -1495
- package/dist/plugins/index.js +123 -86
- package/lib/playback/dash-playback/DashPlayback.d.ts.map +1 -1
- package/lib/playback/dash-playback/DashPlayback.js +1 -1
- package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
- package/lib/plugins/bottom-gear/BottomGear.js +2 -2
- package/lib/plugins/media-control/MediaControl.d.ts +37 -6
- package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
- package/lib/plugins/media-control/MediaControl.js +54 -36
- package/lib/plugins/playback-rate/PlaybackRate.d.ts +5 -4
- package/lib/plugins/playback-rate/PlaybackRate.d.ts.map +1 -1
- package/lib/plugins/playback-rate/PlaybackRate.js +46 -24
- package/lib/plugins/subtitles/ClosedCaptions.js +1 -1
- package/lib/plugins/utils/fullscreen.d.ts +4 -0
- package/lib/plugins/utils/fullscreen.d.ts.map +1 -0
- package/lib/plugins/utils/fullscreen.js +30 -0
- package/lib/plugins/utils.d.ts +0 -1
- package/lib/plugins/utils.d.ts.map +1 -1
- package/lib/plugins/utils.js +0 -28
- package/lib/utils/fullscreen.d.ts +3 -0
- package/lib/utils/fullscreen.d.ts.map +1 -0
- package/lib/utils/fullscreen.js +2 -0
- package/package.json +1 -1
- package/src/playback/dash-playback/DashPlayback.ts +1 -4
- package/src/plugins/bottom-gear/BottomGear.ts +2 -2
- package/src/plugins/bottom-gear/__tests__/BottomGear.test.ts +15 -3
- package/src/plugins/media-control/MediaControl.ts +111 -62
- package/src/plugins/media-control/__tests__/MediaControl.test.ts +118 -8
- package/src/plugins/media-control/__tests__/__snapshots__/MediaControl.test.ts.snap +149 -5
- package/src/plugins/playback-rate/PlaybackRate.ts +48 -26
- package/src/plugins/playback-rate/__tests__/PlaybackRate.test.ts +125 -55
- package/src/plugins/playback-rate/__tests__/__snapshots__/PlaybackRate.test.ts.snap +1 -1
- package/src/plugins/subtitles/ClosedCaptions.ts +1 -1
- package/src/plugins/utils/fullscreen.ts +34 -0
- package/src/plugins/utils.ts +0 -31
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
<div class="media-control-multicamera" data-<%= name %>></div>
|
|
47
47
|
<% }; %>
|
|
48
48
|
<% var renderClipsText = function(name) { %>
|
|
49
|
-
|
|
50
49
|
<div class="media-clip-container gcore-skin-text-color" data-<%= name %>>
|
|
51
50
|
<div class="media-clip-point gcore-skin-text-color" data-<%= name %>>•</div>
|
|
52
51
|
<div class="media-clip-text gcore-skin-text-color" data-<%= name %>></div>
|
|
@@ -57,7 +56,7 @@
|
|
|
57
56
|
<% }; %>
|
|
58
57
|
<% var renderButton = function(name) { %>
|
|
59
58
|
<button type="button" class="media-control-button media-control-icon gcore-skin-button-color" data-<%= name %>
|
|
60
|
-
|
|
59
|
+
aria-label="<%= name %>"></button>
|
|
61
60
|
<% }; %>
|
|
62
61
|
|
|
63
62
|
<% var templates = {
|
package/dist/core.js
CHANGED
|
@@ -13005,8 +13005,8 @@ class DashPlayback extends BasePlayback {
|
|
|
13005
13005
|
return super.destroy();
|
|
13006
13006
|
}
|
|
13007
13007
|
_updatePlaybackType() {
|
|
13008
|
-
assert.ok(this._dash, 'An instance of dashjs MediaPlayer is required to update the playback type');
|
|
13009
13008
|
const prevPlaybackType = this._playbackType;
|
|
13009
|
+
// @ts-ignore
|
|
13010
13010
|
this._playbackType = this._dash.isDynamic() ? Playback.LIVE : Playback.VOD;
|
|
13011
13011
|
if (prevPlaybackType !== this._playbackType) {
|
|
13012
13012
|
this._updateSettings();
|
|
@@ -43213,7 +43213,7 @@ class Player {
|
|
|
43213
43213
|
}
|
|
43214
43214
|
}
|
|
43215
43215
|
|
|
43216
|
-
var version$1 = "2.22.
|
|
43216
|
+
var version$1 = "2.22.7";
|
|
43217
43217
|
|
|
43218
43218
|
var packages = {
|
|
43219
43219
|
"node_modules/@clappr/core": {
|