@gcorevideo/player 2.22.2 → 2.22.3
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/container.scss +1 -1
- package/assets/spinner-three-bounce/spinner.scss +1 -1
- package/dist/core.js +1 -1
- package/dist/index.css +1444 -1444
- package/dist/index.js +3 -2
- package/dist/player.d.ts +6 -3
- package/dist/plugins/index.css +489 -489
- package/dist/plugins/index.js +3 -2
- package/docs/api/player.md +1 -1
- package/docs/api/player.sourcecontroller.md +1 -1
- package/docs/api/player.spinnerthreebounce.md +1 -1
- package/lib/index.plugins.d.ts +1 -0
- package/lib/index.plugins.d.ts.map +1 -1
- package/lib/index.plugins.js +1 -0
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts +1 -0
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts.map +1 -1
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.js +1 -0
- package/package.json +1 -1
- package/src/index.plugins.ts +1 -0
- package/src/plugins/spinner-three-bounce/SpinnerThreeBounce.ts +1 -0
- package/temp/player.api.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/assets/bottom-gear/bottomgear copy.ejs +0 -10
package/dist/plugins/index.js
CHANGED
|
@@ -13358,7 +13358,7 @@ class ClipsPlugin extends UICorePlugin {
|
|
|
13358
13358
|
|
|
13359
13359
|
const templateHtml$1 = "<ul class=\"context-menu-list\">\n <% if(options) { %>\n <% for (var i = 0; i < options.length; i++) { %>\n <li class=\"context-menu-list-item <%= options[i].class %>\"\n data-<%= options[i].name %>><%= options[i].label %></li>\n <% } %>\n <% } %>\n</ul>\n";
|
|
13360
13360
|
|
|
13361
|
-
var version$1 = "2.22.
|
|
13361
|
+
var version$1 = "2.22.3";
|
|
13362
13362
|
|
|
13363
13363
|
var packages = {
|
|
13364
13364
|
"node_modules/@clappr/core": {
|
|
@@ -17163,6 +17163,7 @@ var SpinnerEvents;
|
|
|
17163
17163
|
* `PLUGIN` that shows a pending operation indicator when playback is buffering or in a similar state.
|
|
17164
17164
|
* @public
|
|
17165
17165
|
* @remarks
|
|
17166
|
+
* It is aliased as `Spinner` for convenience.
|
|
17166
17167
|
* Events emitted - {@link SpinnerEvents}
|
|
17167
17168
|
* Other plugins can use {@link SpinnerThreeBounce.show | show} and {@link SpinnerThreeBounce.hide | hide} methods to
|
|
17168
17169
|
* implement custom pending/progress indication scenarios.
|
|
@@ -18703,4 +18704,4 @@ class VolumeFade extends UICorePlugin {
|
|
|
18703
18704
|
}
|
|
18704
18705
|
}
|
|
18705
18706
|
|
|
18706
|
-
export { AudioSelector, BigMuteButton, BottomGear, ClapprNerdStats, ClapprStats, ClickToPause, ClipsPlugin, ClosedCaptions, ContextMenu, DvrControls, ErrorScreen, Favicon, GearEvents, GoogleAnalytics, LevelSelector, Logo, MediaControl, MultiCamera, PictureInPicture, PlaybackRate, Poster, SeekTime, Share, SkipTime, SourceController, SpinnerEvents, SpinnerThreeBounce, ClosedCaptions as Subtitles, Telemetry, TelemetryEvent, Thumbnails, VolumeFade, VolumeFadeEvents };
|
|
18707
|
+
export { AudioSelector, BigMuteButton, BottomGear, ClapprNerdStats, ClapprStats, ClickToPause, ClipsPlugin, ClosedCaptions, ContextMenu, DvrControls, ErrorScreen, Favicon, GearEvents, GoogleAnalytics, LevelSelector, Logo, MediaControl, MultiCamera, PictureInPicture, PlaybackRate, Poster, SeekTime, Share, SkipTime, SourceController, SpinnerThreeBounce as Spinner, SpinnerEvents, SpinnerThreeBounce, ClosedCaptions as Subtitles, Telemetry, TelemetryEvent, Thumbnails, VolumeFade, VolumeFadeEvents };
|
package/docs/api/player.md
CHANGED
|
@@ -15,7 +15,7 @@ export declare class SpinnerThreeBounce extends UIContainerPlugin
|
|
|
15
15
|
|
|
16
16
|
## Remarks
|
|
17
17
|
|
|
18
|
-
Events emitted- [SpinnerEvents](./player.spinnerevents.md) Other plugins can use [show](./player.spinnerthreebounce.show.md) and [hide](./player.spinnerthreebounce.hide.md) methods to implement custom pending/progress indication scenarios.
|
|
18
|
+
It is aliased as `Spinner` for convenience. Events emitted - [SpinnerEvents](./player.spinnerevents.md) Other plugins can use [show](./player.spinnerthreebounce.show.md) and [hide](./player.spinnerthreebounce.hide.md) methods to implement custom pending/progress indication scenarios.
|
|
19
19
|
|
|
20
20
|
## Constructors
|
|
21
21
|
|
package/lib/index.plugins.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from "./plugins/seek-time/SeekTime.js";
|
|
|
22
22
|
export * from "./plugins/share/Share.js";
|
|
23
23
|
export * from "./plugins/skip-time/SkipTime.js";
|
|
24
24
|
export * from "./plugins/spinner-three-bounce/SpinnerThreeBounce.js";
|
|
25
|
+
export { SpinnerThreeBounce as Spinner } from "./plugins/spinner-three-bounce/SpinnerThreeBounce.js";
|
|
25
26
|
export * from "./plugins/source-controller/SourceController.js";
|
|
26
27
|
export * from "./plugins/subtitles/ClosedCaptions.js";
|
|
27
28
|
export { ClosedCaptions as Subtitles } from "./plugins/subtitles/ClosedCaptions.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.plugins.d.ts","sourceRoot":"","sources":["../src/index.plugins.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AAEnC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qCAAqC,CAAC;AACpD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAE7C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wBAAwB,CAAC;AACvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc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AAE,cAAc,IAAI,SAAS,EAAE,MAAM,uCAAuC,CAAC;AACpF,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AAGnD,cAAc,qCAAqC,CAAC"}
|
package/lib/index.plugins.js
CHANGED
|
@@ -23,6 +23,7 @@ export * from "./plugins/seek-time/SeekTime.js";
|
|
|
23
23
|
export * from "./plugins/share/Share.js";
|
|
24
24
|
export * from "./plugins/skip-time/SkipTime.js";
|
|
25
25
|
export * from "./plugins/spinner-three-bounce/SpinnerThreeBounce.js";
|
|
26
|
+
export { SpinnerThreeBounce as Spinner } from "./plugins/spinner-three-bounce/SpinnerThreeBounce.js";
|
|
26
27
|
export * from "./plugins/source-controller/SourceController.js";
|
|
27
28
|
export * from "./plugins/subtitles/ClosedCaptions.js";
|
|
28
29
|
export { ClosedCaptions as Subtitles } from "./plugins/subtitles/ClosedCaptions.js"; // TODO remove in future versions
|
|
@@ -15,6 +15,7 @@ export declare enum SpinnerEvents {
|
|
|
15
15
|
* `PLUGIN` that shows a pending operation indicator when playback is buffering or in a similar state.
|
|
16
16
|
* @public
|
|
17
17
|
* @remarks
|
|
18
|
+
* It is aliased as `Spinner` for convenience.
|
|
18
19
|
* Events emitted - {@link SpinnerEvents}
|
|
19
20
|
* Other plugins can use {@link SpinnerThreeBounce.show | show} and {@link SpinnerThreeBounce.hide | hide} methods to
|
|
20
21
|
* implement custom pending/progress indication scenarios.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpinnerThreeBounce.d.ts","sourceRoot":"","sources":["../../../src/plugins/spinner-three-bounce/SpinnerThreeBounce.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,SAAS,EAET,iBAAiB,EAElB,MAAM,cAAc,CAAA;AAKrB,OAAO,mDAAmD,CAAA;AAM1D;;;GAGG;AACH,oBAAY,aAAa;IACvB;;;OAGG;IACH,IAAI,yBAAyB;CAC9B;AAED
|
|
1
|
+
{"version":3,"file":"SpinnerThreeBounce.d.ts","sourceRoot":"","sources":["../../../src/plugins/spinner-three-bounce/SpinnerThreeBounce.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,SAAS,EAET,iBAAiB,EAElB,MAAM,cAAc,CAAA;AAKrB,OAAO,mDAAmD,CAAA;AAM1D;;;GAGG;AACH,oBAAY,aAAa;IACvB;;;OAGG;IACH,IAAI,yBAAyB;CAC9B;AAED;;;;;;;;GAQG;AACH,qBAAa,kBAAmB,SAAQ,iBAAiB;IACvD,OAAO,CAAC,SAAS,CAAQ;IAEzB;;OAEG;IACH,IAAI,IAAI,WAEP;IAED;;OAEG;IACH,IAAI,gBAAgB;;MAEnB;IAED;;OAEG;IACH,IAAa,UAAU;;;MAKtB;IAED,OAAO,CAAC,WAAW,CAAuB;IAE1C,OAAO,CAAC,QAAQ,CAAwB;IAExC,OAAO,CAAC,aAAa,CAAQ;IAE7B,OAAO,CAAC,YAAY,CAAQ;gBAEhB,SAAS,EAAE,SAAS;IAmBhC,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,YAAY;IAOpB,OAAO,CAAC,MAAM;IAKd,OAAO,CAAC,MAAM;IAOd,OAAO,CAAC,OAAO;IAUf;;;;;;OAMG;IACH,IAAI,CAAC,KAAK,SAAM;IAMhB;;OAEG;IACH,IAAI;IAKJ,OAAO,CAAC,KAAK;IASb,OAAO,CAAC,KAAK;IAeb;;OAEG;IACM,MAAM;CAiBhB"}
|
|
@@ -26,6 +26,7 @@ export var SpinnerEvents;
|
|
|
26
26
|
* `PLUGIN` that shows a pending operation indicator when playback is buffering or in a similar state.
|
|
27
27
|
* @public
|
|
28
28
|
* @remarks
|
|
29
|
+
* It is aliased as `Spinner` for convenience.
|
|
29
30
|
* Events emitted - {@link SpinnerEvents}
|
|
30
31
|
* Other plugins can use {@link SpinnerThreeBounce.show | show} and {@link SpinnerThreeBounce.hide | hide} methods to
|
|
31
32
|
* implement custom pending/progress indication scenarios.
|
package/package.json
CHANGED
package/src/index.plugins.ts
CHANGED
|
@@ -24,6 +24,7 @@ export * from "./plugins/seek-time/SeekTime.js";
|
|
|
24
24
|
export * from "./plugins/share/Share.js";
|
|
25
25
|
export * from "./plugins/skip-time/SkipTime.js";
|
|
26
26
|
export * from "./plugins/spinner-three-bounce/SpinnerThreeBounce.js";
|
|
27
|
+
export { SpinnerThreeBounce as Spinner } from "./plugins/spinner-three-bounce/SpinnerThreeBounce.js";
|
|
27
28
|
export * from "./plugins/source-controller/SourceController.js";
|
|
28
29
|
export * from "./plugins/subtitles/ClosedCaptions.js";
|
|
29
30
|
export { ClosedCaptions as Subtitles } from "./plugins/subtitles/ClosedCaptions.js"; // TODO remove in future versions
|
|
@@ -36,6 +36,7 @@ export enum SpinnerEvents {
|
|
|
36
36
|
* `PLUGIN` that shows a pending operation indicator when playback is buffering or in a similar state.
|
|
37
37
|
* @public
|
|
38
38
|
* @remarks
|
|
39
|
+
* It is aliased as `Spinner` for convenience.
|
|
39
40
|
* Events emitted - {@link SpinnerEvents}
|
|
40
41
|
* Other plugins can use {@link SpinnerThreeBounce.show | show} and {@link SpinnerThreeBounce.hide | hide} methods to
|
|
41
42
|
* implement custom pending/progress indication scenarios.
|
package/temp/player.api.json
CHANGED
|
@@ -7791,7 +7791,7 @@
|
|
|
7791
7791
|
{
|
|
7792
7792
|
"kind": "Class",
|
|
7793
7793
|
"canonicalReference": "@gcorevideo/player!SourceController:class",
|
|
7794
|
-
"docComment": "/**\n * `PLUGIN` that is
|
|
7794
|
+
"docComment": "/**\n * `PLUGIN` that is managing the automatic failover between media sources.\n *\n * @remarks\n *\n * Have a look at the {@link https://miro.com/app/board/uXjVLiN15tY=/?share_link_id=390327585787 | source failover diagram} for the details on how sources ordering and selection works. Below is a simplified diagram:\n * ```markdown\n * sources_list:\n * - a.mpd | +--------------------+\n * - b.m3u8 |--->| init |\n * - ... | |--------------------|\n * | current_source = 0 |\n * +--------------------+\n * |\n * | source = a.mpd\n * | playback = dash.js\n * v\n * +------------------+\n * +-->| load source |\n * | +---------|--------+\n * | v\n * | +------------------+\n * | | play |\n * | +---------|--------+\n * | |\n * | v\n * | +-----------------------+\n * | | on playback_error |\n * | |-----------------------|\n * | | current_source = |\n * | | (current_source + 1) |\n * | | % len sources_list |\n * | | |\n * | | delay 1..3s |\n * | +---------------|-------+\n * | |\n * | source=b.m3u8 |\n * | playback=hls.js |\n * +-------------------+\n *\n * ```\n *\n * This plugin does not expose any public methods apart from required by the Clappr plugin interface. It is supposed to work autonomously.\n *\n * @example\n * ```ts\n * import { SourceController } from '@gcorevideo/player'\n *\n * Player.registerPlugin(SourceController)\n * ```\n *\n * @public\n */\n",
|
|
7795
7795
|
"excerptTokens": [
|
|
7796
7796
|
{
|
|
7797
7797
|
"kind": "Content",
|
|
@@ -7894,7 +7894,7 @@
|
|
|
7894
7894
|
{
|
|
7895
7895
|
"kind": "Class",
|
|
7896
7896
|
"canonicalReference": "@gcorevideo/player!SpinnerThreeBounce:class",
|
|
7897
|
-
"docComment": "/**\n * `PLUGIN` that shows a pending operation indicator when playback is buffering or in a similar state.\n *\n * @remarks\n *\n * Events emitted- {@link SpinnerEvents} Other plugins can use {@link SpinnerThreeBounce.show | show} and {@link SpinnerThreeBounce.hide | hide} methods to implement custom pending/progress indication scenarios.\n *\n * @public\n */\n",
|
|
7897
|
+
"docComment": "/**\n * `PLUGIN` that shows a pending operation indicator when playback is buffering or in a similar state.\n *\n * @remarks\n *\n * It is aliased as `Spinner` for convenience. Events emitted - {@link SpinnerEvents} Other plugins can use {@link SpinnerThreeBounce.show | show} and {@link SpinnerThreeBounce.hide | hide} methods to implement custom pending/progress indication scenarios.\n *\n * @public\n */\n",
|
|
7898
7898
|
"excerptTokens": [
|
|
7899
7899
|
{
|
|
7900
7900
|
"kind": "Content",
|