@gcorevideo/player 2.20.11 → 2.20.12
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/dist/core.js +1 -1
- package/dist/index.css +1377 -1377
- package/dist/index.js +29 -37
- package/dist/player.d.ts +39 -5
- package/dist/plugins/index.css +1136 -1136
- package/dist/plugins/index.js +29 -37
- package/docs/api/player.contextmenupluginsettings.md +1 -1
- package/docs/api/player.favicon.md +4 -174
- package/docs/api/{player.favicon.bindevents.md → player.faviconpluginsettings.faviconcolor.md} +5 -7
- package/docs/api/{player.favicon._constructor_.md → player.faviconpluginsettings.md} +17 -8
- package/docs/api/player.md +14 -3
- package/docs/api/{player.favicon.disable.md → player.mediacontrol.getcenterpanel.md} +4 -4
- package/docs/api/{player.favicon.configure.md → player.mediacontrol.getleftpanel.md} +8 -4
- package/docs/api/player.mediacontrol.md +28 -0
- package/lib/plugins/context-menu/ContextMenu.d.ts +1 -1
- package/lib/plugins/error-screen/ErrorScreen.d.ts.map +1 -1
- package/lib/plugins/error-screen/ErrorScreen.js +0 -1
- package/lib/plugins/favicon/Favicon.d.ts +30 -3
- package/lib/plugins/favicon/Favicon.d.ts.map +1 -1
- package/lib/plugins/favicon/Favicon.js +28 -35
- package/package.json +1 -1
- package/src/plugins/context-menu/ContextMenu.ts +1 -1
- package/src/plugins/error-screen/ErrorScreen.ts +0 -1
- package/src/plugins/favicon/Favicon.ts +38 -41
- package/temp/player.api.json +95 -206
- package/tsconfig.tsbuildinfo +1 -1
- package/docs/api/player.favicon.destroy.md +0 -18
- package/docs/api/player.favicon.name.md +0 -14
- package/docs/api/player.favicon.supportedversion.md +0 -16
|
@@ -5,26 +5,32 @@ import pauseIcon from '../../../assets/icons/new/pause.svg';
|
|
|
5
5
|
import stopIcon from '../../../assets/icons/new/stop.svg';
|
|
6
6
|
const FAVICON_COLOR = '#567';
|
|
7
7
|
const FAVICON_SELECTOR = 'link[rel="shortcut icon"]';
|
|
8
|
-
// const oldIcon = $(FAVICON_SELECTOR);
|
|
9
8
|
/**
|
|
10
|
-
* `PLUGIN` that
|
|
9
|
+
* `PLUGIN` that changes the favicon according to the player's state.
|
|
11
10
|
* @beta
|
|
11
|
+
* @remarks
|
|
12
|
+
* There are three states: stopped, playing and paused.
|
|
12
13
|
*/
|
|
13
14
|
export class Favicon extends CorePlugin {
|
|
14
|
-
_container = null;
|
|
15
15
|
oldIcon;
|
|
16
16
|
playIcon = null;
|
|
17
17
|
pauseIcon = null;
|
|
18
18
|
stopIcon = null;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
19
22
|
get name() {
|
|
20
23
|
return 'favicon';
|
|
21
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
22
28
|
get supportedVersion() {
|
|
23
29
|
return { min: CLAPPR_VERSION };
|
|
24
30
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
28
34
|
constructor(core) {
|
|
29
35
|
super(core);
|
|
30
36
|
this.oldIcon = $(FAVICON_SELECTOR);
|
|
@@ -32,41 +38,31 @@ export class Favicon extends CorePlugin {
|
|
|
32
38
|
this.stopIcon = this.createIcon(stopIcon);
|
|
33
39
|
this.changeIcon(this.stopIcon);
|
|
34
40
|
}
|
|
35
|
-
this.configure();
|
|
36
|
-
}
|
|
37
|
-
configure() {
|
|
38
|
-
if (this.core.options.changeFavicon) {
|
|
39
|
-
if (!this.enabled) {
|
|
40
|
-
// @ts-ignore
|
|
41
|
-
this.stopListening(this.core, Events.CORE_OPTIONS_CHANGE);
|
|
42
|
-
this.enable();
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
else if (this.enabled) {
|
|
46
|
-
this.disable();
|
|
47
|
-
this.listenTo(this.core, Events.CORE_OPTIONS_CHANGE, this.configure);
|
|
48
|
-
}
|
|
49
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
50
45
|
bindEvents() {
|
|
51
|
-
this.listenTo(this.core, Events.CORE_OPTIONS_CHANGE, this.configure);
|
|
52
46
|
this.listenTo(this.core, Events.CORE_ACTIVE_CONTAINER_CHANGED, this.containerChanged);
|
|
53
|
-
this.core.activeContainer && this.containerChanged();
|
|
54
47
|
}
|
|
55
48
|
containerChanged() {
|
|
56
|
-
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.listenTo(this.
|
|
60
|
-
this.listenTo(this.
|
|
61
|
-
this.listenTo(this._container, Events.CONTAINER_STOP, this.resetIcon);
|
|
62
|
-
this.listenTo(this._container, Events.CONTAINER_ENDED, this.resetIcon);
|
|
63
|
-
this.listenTo(this._container, Events.CONTAINER_ERROR, this.resetIcon);
|
|
49
|
+
this.listenTo(this.core.activeContainer, Events.CONTAINER_PLAY, this.setPlayIcon);
|
|
50
|
+
this.listenTo(this.core.activeContainer, Events.CONTAINER_PAUSE, this.setPauseIcon);
|
|
51
|
+
this.listenTo(this.core.activeContainer, Events.CONTAINER_STOP, this.resetIcon);
|
|
52
|
+
this.listenTo(this.core.activeContainer, Events.CONTAINER_ENDED, this.resetIcon);
|
|
53
|
+
this.listenTo(this.core.activeContainer, Events.CONTAINER_ERROR, this.resetIcon);
|
|
64
54
|
this.resetIcon();
|
|
65
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
66
59
|
disable() {
|
|
67
60
|
super.disable();
|
|
68
61
|
this.resetIcon();
|
|
69
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
70
66
|
destroy() {
|
|
71
67
|
super.destroy();
|
|
72
68
|
this.resetIcon();
|
|
@@ -97,14 +93,11 @@ export class Favicon extends CorePlugin {
|
|
|
97
93
|
this.changeIcon(this.pauseIcon);
|
|
98
94
|
}
|
|
99
95
|
resetIcon() {
|
|
100
|
-
$(FAVICON_SELECTOR).remove();
|
|
101
96
|
const icon = this.oldIcon.length > 0 ? this.oldIcon : this.stopIcon;
|
|
102
97
|
this.changeIcon(icon);
|
|
103
98
|
}
|
|
104
99
|
changeIcon(icon) {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
$('head').append(icon);
|
|
108
|
-
}
|
|
100
|
+
$('link[rel="shortcut icon"]').remove();
|
|
101
|
+
$('head').append(icon);
|
|
109
102
|
}
|
|
110
103
|
}
|
package/package.json
CHANGED
|
@@ -10,15 +10,23 @@ import stopIcon from '../../../assets/icons/new/stop.svg';
|
|
|
10
10
|
const FAVICON_COLOR = '#567';
|
|
11
11
|
const FAVICON_SELECTOR = 'link[rel="shortcut icon"]';
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
/**
|
|
14
|
+
* @beta
|
|
15
|
+
*/
|
|
16
|
+
export interface FaviconPluginSettings {
|
|
17
|
+
/**
|
|
18
|
+
* CSS color of the favicon.
|
|
19
|
+
*/
|
|
20
|
+
faviconColor?: string;
|
|
21
|
+
}
|
|
14
22
|
|
|
15
23
|
/**
|
|
16
|
-
* `PLUGIN` that
|
|
24
|
+
* `PLUGIN` that changes the favicon according to the player's state.
|
|
17
25
|
* @beta
|
|
26
|
+
* @remarks
|
|
27
|
+
* There are three states: stopped, playing and paused.
|
|
18
28
|
*/
|
|
19
29
|
export class Favicon extends CorePlugin {
|
|
20
|
-
private _container: Container | null = null;
|
|
21
|
-
|
|
22
30
|
private oldIcon: ZeptoResult;
|
|
23
31
|
|
|
24
32
|
private playIcon: ZeptoResult | null = null;
|
|
@@ -27,18 +35,23 @@ export class Favicon extends CorePlugin {
|
|
|
27
35
|
|
|
28
36
|
private stopIcon: ZeptoResult | null = null;
|
|
29
37
|
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
30
41
|
get name() {
|
|
31
42
|
return 'favicon';
|
|
32
43
|
}
|
|
33
44
|
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
34
48
|
get supportedVersion() {
|
|
35
49
|
return { min: CLAPPR_VERSION };
|
|
36
50
|
}
|
|
37
51
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
42
55
|
constructor(core: Core) {
|
|
43
56
|
super(core);
|
|
44
57
|
this.oldIcon = $(FAVICON_SELECTOR);
|
|
@@ -46,45 +59,35 @@ export class Favicon extends CorePlugin {
|
|
|
46
59
|
this.stopIcon = this.createIcon(stopIcon);
|
|
47
60
|
this.changeIcon(this.stopIcon);
|
|
48
61
|
}
|
|
49
|
-
this.configure();
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
configure() {
|
|
53
|
-
if (this.core.options.changeFavicon) {
|
|
54
|
-
if (!this.enabled) {
|
|
55
|
-
// @ts-ignore
|
|
56
|
-
this.stopListening(this.core, Events.CORE_OPTIONS_CHANGE);
|
|
57
|
-
this.enable();
|
|
58
|
-
}
|
|
59
|
-
} else if (this.enabled) {
|
|
60
|
-
this.disable();
|
|
61
|
-
this.listenTo(this.core, Events.CORE_OPTIONS_CHANGE, this.configure);
|
|
62
|
-
}
|
|
63
62
|
}
|
|
64
63
|
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
65
67
|
override bindEvents() {
|
|
66
|
-
this.listenTo(this.core, Events.CORE_OPTIONS_CHANGE, this.configure);
|
|
67
68
|
this.listenTo(this.core, Events.CORE_ACTIVE_CONTAINER_CHANGED, this.containerChanged);
|
|
68
|
-
this.core.activeContainer && this.containerChanged();
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
private containerChanged() {
|
|
72
|
-
|
|
73
|
-
this.
|
|
74
|
-
this.
|
|
75
|
-
this.listenTo(this.
|
|
76
|
-
this.listenTo(this.
|
|
77
|
-
this.listenTo(this._container, Events.CONTAINER_STOP, this.resetIcon);
|
|
78
|
-
this.listenTo(this._container, Events.CONTAINER_ENDED, this.resetIcon);
|
|
79
|
-
this.listenTo(this._container, Events.CONTAINER_ERROR, this.resetIcon);
|
|
72
|
+
this.listenTo(this.core.activeContainer, Events.CONTAINER_PLAY, this.setPlayIcon);
|
|
73
|
+
this.listenTo(this.core.activeContainer, Events.CONTAINER_PAUSE, this.setPauseIcon);
|
|
74
|
+
this.listenTo(this.core.activeContainer, Events.CONTAINER_STOP, this.resetIcon);
|
|
75
|
+
this.listenTo(this.core.activeContainer, Events.CONTAINER_ENDED, this.resetIcon);
|
|
76
|
+
this.listenTo(this.core.activeContainer, Events.CONTAINER_ERROR, this.resetIcon);
|
|
80
77
|
this.resetIcon();
|
|
81
78
|
}
|
|
82
79
|
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
83
|
override disable() {
|
|
84
84
|
super.disable();
|
|
85
85
|
this.resetIcon();
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
88
91
|
override destroy() {
|
|
89
92
|
super.destroy();
|
|
90
93
|
this.resetIcon();
|
|
@@ -113,7 +116,6 @@ export class Favicon extends CorePlugin {
|
|
|
113
116
|
if (!this.playIcon) {
|
|
114
117
|
this.playIcon = this.createIcon(playIcon);
|
|
115
118
|
}
|
|
116
|
-
|
|
117
119
|
this.changeIcon(this.playIcon);
|
|
118
120
|
}
|
|
119
121
|
|
|
@@ -121,21 +123,16 @@ export class Favicon extends CorePlugin {
|
|
|
121
123
|
if (!this.pauseIcon) {
|
|
122
124
|
this.pauseIcon = this.createIcon(pauseIcon);
|
|
123
125
|
}
|
|
124
|
-
|
|
125
126
|
this.changeIcon(this.pauseIcon);
|
|
126
127
|
}
|
|
127
128
|
|
|
128
129
|
private resetIcon() {
|
|
129
|
-
$(FAVICON_SELECTOR).remove();
|
|
130
130
|
const icon = this.oldIcon.length > 0 ? this.oldIcon : this.stopIcon;
|
|
131
|
-
|
|
132
131
|
this.changeIcon(icon);
|
|
133
132
|
}
|
|
134
133
|
|
|
135
|
-
private changeIcon(icon: ZeptoResult
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
$('head').append(icon);
|
|
139
|
-
}
|
|
134
|
+
private changeIcon(icon: ZeptoResult) {
|
|
135
|
+
$('link[rel="shortcut icon"]').remove();
|
|
136
|
+
$('head').append(icon);
|
|
140
137
|
}
|
|
141
138
|
}
|
package/temp/player.api.json
CHANGED
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
},
|
|
163
163
|
"kind": "Package",
|
|
164
164
|
"canonicalReference": "@gcorevideo/player!",
|
|
165
|
-
"docComment": "/**\n * Video player for the Gcore streaming platform\n *\n * @remarks\n *\n * This package provides a video player for the Gcore streaming platform. It is built on top of the Clappr library and provides a framework for building custom integrations. Start with {@link Player} for more information.\n *\n * Various plugins (marked with `PLUGIN` keyword) are available to extend the player with additional features.\n *\n * @example\n * ```ts\n * import { Player, MediaControl, ErrorScreen } from '@gcorevideo/player'\n *\n * Player.registerPlugin(MediaControl)\n * Player.registerPlugin(ErrorScreen)\n *\n * const player = new Player({\n * autoPlay: true,\n * mute: true,\n * sources: [{ source: 'https://example.com/a.mpd', mimeType: 'application/dash+xml' }],\n * })\n *\n * player.attachTo(document.getElementById('container'))\n * ```\n *\n * @packageDocumentation\n */\n",
|
|
165
|
+
"docComment": "/**\n * Video player for the Gcore streaming platform\n *\n * @remarks\n *\n * This package provides a video player for the Gcore streaming platform. It is built on top of the {@link https://github.com/clappr/clappr | Clappr} library and provides a framework for building custom integrations. Start with {@link Player} for more information.\n *\n * Various plugins (marked with `PLUGIN` keyword) are available to extend the player with additional features.\n *\n * @example\n * ```ts\n * import { Player, MediaControl, ErrorScreen } from '@gcorevideo/player'\n *\n * Player.registerPlugin(MediaControl)\n * Player.registerPlugin(ErrorScreen)\n *\n * const player = new Player({\n * autoPlay: true,\n * mute: true,\n * sources: [{ source: 'https://example.com/a.mpd', mimeType: 'application/dash+xml' }],\n * })\n *\n * player.attachTo(document.getElementById('container'))\n * ```\n *\n * @packageDocumentation\n */\n",
|
|
166
166
|
"name": "@gcorevideo/player",
|
|
167
167
|
"preserveMemberOrder": false,
|
|
168
168
|
"members": [
|
|
@@ -1043,7 +1043,7 @@
|
|
|
1043
1043
|
{
|
|
1044
1044
|
"kind": "Interface",
|
|
1045
1045
|
"canonicalReference": "@gcorevideo/player!ContextMenuPluginSettings:interface",
|
|
1046
|
-
"docComment": "/**\n *
|
|
1046
|
+
"docComment": "/**\n * Context menu plugin settings\n *\n * @beta\n */\n",
|
|
1047
1047
|
"excerptTokens": [
|
|
1048
1048
|
{
|
|
1049
1049
|
"kind": "Content",
|
|
@@ -1331,7 +1331,7 @@
|
|
|
1331
1331
|
{
|
|
1332
1332
|
"kind": "Class",
|
|
1333
1333
|
"canonicalReference": "@gcorevideo/player!Favicon:class",
|
|
1334
|
-
"docComment": "/**\n * `PLUGIN` that
|
|
1334
|
+
"docComment": "/**\n * `PLUGIN` that changes the favicon according to the player's state.\n *\n * @remarks\n *\n * There are three states: stopped, playing and paused.\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `Favicon` class.\n *\n * @beta\n */\n",
|
|
1335
1335
|
"excerptTokens": [
|
|
1336
1336
|
{
|
|
1337
1337
|
"kind": "Content",
|
|
@@ -1352,172 +1352,36 @@
|
|
|
1352
1352
|
"isAbstract": false,
|
|
1353
1353
|
"name": "Favicon",
|
|
1354
1354
|
"preserveMemberOrder": false,
|
|
1355
|
-
"members": [
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
"text": "Core",
|
|
1368
|
-
"canonicalReference": "@clappr/core!default:class"
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
"kind": "Content",
|
|
1372
|
-
"text": ");"
|
|
1373
|
-
}
|
|
1374
|
-
],
|
|
1375
|
-
"releaseTag": "Beta",
|
|
1376
|
-
"isProtected": false,
|
|
1377
|
-
"overloadIndex": 1,
|
|
1378
|
-
"parameters": [
|
|
1379
|
-
{
|
|
1380
|
-
"parameterName": "core",
|
|
1381
|
-
"parameterTypeTokenRange": {
|
|
1382
|
-
"startIndex": 1,
|
|
1383
|
-
"endIndex": 2
|
|
1384
|
-
},
|
|
1385
|
-
"isOptional": false
|
|
1386
|
-
}
|
|
1387
|
-
]
|
|
1388
|
-
},
|
|
1389
|
-
{
|
|
1390
|
-
"kind": "Method",
|
|
1391
|
-
"canonicalReference": "@gcorevideo/player!Favicon#bindEvents:member(1)",
|
|
1392
|
-
"docComment": "",
|
|
1393
|
-
"excerptTokens": [
|
|
1394
|
-
{
|
|
1395
|
-
"kind": "Content",
|
|
1396
|
-
"text": "bindEvents(): "
|
|
1397
|
-
},
|
|
1398
|
-
{
|
|
1399
|
-
"kind": "Content",
|
|
1400
|
-
"text": "void"
|
|
1401
|
-
},
|
|
1402
|
-
{
|
|
1403
|
-
"kind": "Content",
|
|
1404
|
-
"text": ";"
|
|
1405
|
-
}
|
|
1406
|
-
],
|
|
1407
|
-
"isStatic": false,
|
|
1408
|
-
"returnTypeTokenRange": {
|
|
1409
|
-
"startIndex": 1,
|
|
1410
|
-
"endIndex": 2
|
|
1411
|
-
},
|
|
1412
|
-
"releaseTag": "Beta",
|
|
1413
|
-
"isProtected": false,
|
|
1414
|
-
"overloadIndex": 1,
|
|
1415
|
-
"parameters": [],
|
|
1416
|
-
"isOptional": false,
|
|
1417
|
-
"isAbstract": false,
|
|
1418
|
-
"name": "bindEvents"
|
|
1419
|
-
},
|
|
1420
|
-
{
|
|
1421
|
-
"kind": "Method",
|
|
1422
|
-
"canonicalReference": "@gcorevideo/player!Favicon#configure:member(1)",
|
|
1423
|
-
"docComment": "",
|
|
1424
|
-
"excerptTokens": [
|
|
1425
|
-
{
|
|
1426
|
-
"kind": "Content",
|
|
1427
|
-
"text": "configure(): "
|
|
1428
|
-
},
|
|
1429
|
-
{
|
|
1430
|
-
"kind": "Content",
|
|
1431
|
-
"text": "void"
|
|
1432
|
-
},
|
|
1433
|
-
{
|
|
1434
|
-
"kind": "Content",
|
|
1435
|
-
"text": ";"
|
|
1436
|
-
}
|
|
1437
|
-
],
|
|
1438
|
-
"isStatic": false,
|
|
1439
|
-
"returnTypeTokenRange": {
|
|
1440
|
-
"startIndex": 1,
|
|
1441
|
-
"endIndex": 2
|
|
1442
|
-
},
|
|
1443
|
-
"releaseTag": "Beta",
|
|
1444
|
-
"isProtected": false,
|
|
1445
|
-
"overloadIndex": 1,
|
|
1446
|
-
"parameters": [],
|
|
1447
|
-
"isOptional": false,
|
|
1448
|
-
"isAbstract": false,
|
|
1449
|
-
"name": "configure"
|
|
1450
|
-
},
|
|
1451
|
-
{
|
|
1452
|
-
"kind": "Method",
|
|
1453
|
-
"canonicalReference": "@gcorevideo/player!Favicon#destroy:member(1)",
|
|
1454
|
-
"docComment": "",
|
|
1455
|
-
"excerptTokens": [
|
|
1456
|
-
{
|
|
1457
|
-
"kind": "Content",
|
|
1458
|
-
"text": "destroy(): "
|
|
1459
|
-
},
|
|
1460
|
-
{
|
|
1461
|
-
"kind": "Content",
|
|
1462
|
-
"text": "void"
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
"kind": "Content",
|
|
1466
|
-
"text": ";"
|
|
1467
|
-
}
|
|
1468
|
-
],
|
|
1469
|
-
"isStatic": false,
|
|
1470
|
-
"returnTypeTokenRange": {
|
|
1471
|
-
"startIndex": 1,
|
|
1472
|
-
"endIndex": 2
|
|
1473
|
-
},
|
|
1474
|
-
"releaseTag": "Beta",
|
|
1475
|
-
"isProtected": false,
|
|
1476
|
-
"overloadIndex": 1,
|
|
1477
|
-
"parameters": [],
|
|
1478
|
-
"isOptional": false,
|
|
1479
|
-
"isAbstract": false,
|
|
1480
|
-
"name": "destroy"
|
|
1481
|
-
},
|
|
1355
|
+
"members": [],
|
|
1356
|
+
"extendsTokenRange": {
|
|
1357
|
+
"startIndex": 1,
|
|
1358
|
+
"endIndex": 2
|
|
1359
|
+
},
|
|
1360
|
+
"implementsTokenRanges": []
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
"kind": "Interface",
|
|
1364
|
+
"canonicalReference": "@gcorevideo/player!FaviconPluginSettings:interface",
|
|
1365
|
+
"docComment": "/**\n * @beta\n */\n",
|
|
1366
|
+
"excerptTokens": [
|
|
1482
1367
|
{
|
|
1483
|
-
"kind": "
|
|
1484
|
-
"
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
"kind": "Content",
|
|
1493
|
-
"text": "void"
|
|
1494
|
-
},
|
|
1495
|
-
{
|
|
1496
|
-
"kind": "Content",
|
|
1497
|
-
"text": ";"
|
|
1498
|
-
}
|
|
1499
|
-
],
|
|
1500
|
-
"isStatic": false,
|
|
1501
|
-
"returnTypeTokenRange": {
|
|
1502
|
-
"startIndex": 1,
|
|
1503
|
-
"endIndex": 2
|
|
1504
|
-
},
|
|
1505
|
-
"releaseTag": "Beta",
|
|
1506
|
-
"isProtected": false,
|
|
1507
|
-
"overloadIndex": 1,
|
|
1508
|
-
"parameters": [],
|
|
1509
|
-
"isOptional": false,
|
|
1510
|
-
"isAbstract": false,
|
|
1511
|
-
"name": "disable"
|
|
1512
|
-
},
|
|
1368
|
+
"kind": "Content",
|
|
1369
|
+
"text": "export interface FaviconPluginSettings "
|
|
1370
|
+
}
|
|
1371
|
+
],
|
|
1372
|
+
"fileUrlPath": "src/plugins/favicon/Favicon.ts",
|
|
1373
|
+
"releaseTag": "Beta",
|
|
1374
|
+
"name": "FaviconPluginSettings",
|
|
1375
|
+
"preserveMemberOrder": false,
|
|
1376
|
+
"members": [
|
|
1513
1377
|
{
|
|
1514
|
-
"kind": "
|
|
1515
|
-
"canonicalReference": "@gcorevideo/player!
|
|
1516
|
-
"docComment": "",
|
|
1378
|
+
"kind": "PropertySignature",
|
|
1379
|
+
"canonicalReference": "@gcorevideo/player!FaviconPluginSettings#faviconColor:member",
|
|
1380
|
+
"docComment": "/**\n * CSS color of the favicon.\n */\n",
|
|
1517
1381
|
"excerptTokens": [
|
|
1518
1382
|
{
|
|
1519
1383
|
"kind": "Content",
|
|
1520
|
-
"text": "
|
|
1384
|
+
"text": "faviconColor?: "
|
|
1521
1385
|
},
|
|
1522
1386
|
{
|
|
1523
1387
|
"kind": "Content",
|
|
@@ -1528,54 +1392,17 @@
|
|
|
1528
1392
|
"text": ";"
|
|
1529
1393
|
}
|
|
1530
1394
|
],
|
|
1531
|
-
"isReadonly":
|
|
1532
|
-
"isOptional":
|
|
1395
|
+
"isReadonly": false,
|
|
1396
|
+
"isOptional": true,
|
|
1533
1397
|
"releaseTag": "Beta",
|
|
1534
|
-
"name": "
|
|
1398
|
+
"name": "faviconColor",
|
|
1535
1399
|
"propertyTypeTokenRange": {
|
|
1536
1400
|
"startIndex": 1,
|
|
1537
1401
|
"endIndex": 2
|
|
1538
|
-
}
|
|
1539
|
-
"isStatic": false,
|
|
1540
|
-
"isProtected": false,
|
|
1541
|
-
"isAbstract": false
|
|
1542
|
-
},
|
|
1543
|
-
{
|
|
1544
|
-
"kind": "Property",
|
|
1545
|
-
"canonicalReference": "@gcorevideo/player!Favicon#supportedVersion:member",
|
|
1546
|
-
"docComment": "",
|
|
1547
|
-
"excerptTokens": [
|
|
1548
|
-
{
|
|
1549
|
-
"kind": "Content",
|
|
1550
|
-
"text": "get supportedVersion(): "
|
|
1551
|
-
},
|
|
1552
|
-
{
|
|
1553
|
-
"kind": "Content",
|
|
1554
|
-
"text": "{\n min: string;\n }"
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
"kind": "Content",
|
|
1558
|
-
"text": ";"
|
|
1559
|
-
}
|
|
1560
|
-
],
|
|
1561
|
-
"isReadonly": true,
|
|
1562
|
-
"isOptional": false,
|
|
1563
|
-
"releaseTag": "Beta",
|
|
1564
|
-
"name": "supportedVersion",
|
|
1565
|
-
"propertyTypeTokenRange": {
|
|
1566
|
-
"startIndex": 1,
|
|
1567
|
-
"endIndex": 2
|
|
1568
|
-
},
|
|
1569
|
-
"isStatic": false,
|
|
1570
|
-
"isProtected": false,
|
|
1571
|
-
"isAbstract": false
|
|
1402
|
+
}
|
|
1572
1403
|
}
|
|
1573
1404
|
],
|
|
1574
|
-
"
|
|
1575
|
-
"startIndex": 1,
|
|
1576
|
-
"endIndex": 2
|
|
1577
|
-
},
|
|
1578
|
-
"implementsTokenRanges": []
|
|
1405
|
+
"extendsTokenRanges": []
|
|
1579
1406
|
},
|
|
1580
1407
|
{
|
|
1581
1408
|
"kind": "TypeAlias",
|
|
@@ -2976,6 +2803,37 @@
|
|
|
2976
2803
|
"isAbstract": false,
|
|
2977
2804
|
"name": "enableControlButton"
|
|
2978
2805
|
},
|
|
2806
|
+
{
|
|
2807
|
+
"kind": "Method",
|
|
2808
|
+
"canonicalReference": "@gcorevideo/player!MediaControl#getCenterPanel:member(1)",
|
|
2809
|
+
"docComment": "",
|
|
2810
|
+
"excerptTokens": [
|
|
2811
|
+
{
|
|
2812
|
+
"kind": "Content",
|
|
2813
|
+
"text": "getCenterPanel(): "
|
|
2814
|
+
},
|
|
2815
|
+
{
|
|
2816
|
+
"kind": "Content",
|
|
2817
|
+
"text": "any"
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
"kind": "Content",
|
|
2821
|
+
"text": ";"
|
|
2822
|
+
}
|
|
2823
|
+
],
|
|
2824
|
+
"isStatic": false,
|
|
2825
|
+
"returnTypeTokenRange": {
|
|
2826
|
+
"startIndex": 1,
|
|
2827
|
+
"endIndex": 2
|
|
2828
|
+
},
|
|
2829
|
+
"releaseTag": "Beta",
|
|
2830
|
+
"isProtected": false,
|
|
2831
|
+
"overloadIndex": 1,
|
|
2832
|
+
"parameters": [],
|
|
2833
|
+
"isOptional": false,
|
|
2834
|
+
"isAbstract": false,
|
|
2835
|
+
"name": "getCenterPanel"
|
|
2836
|
+
},
|
|
2979
2837
|
{
|
|
2980
2838
|
"kind": "Method",
|
|
2981
2839
|
"canonicalReference": "@gcorevideo/player!MediaControl#getElement:member(1)",
|
|
@@ -3030,6 +2888,37 @@
|
|
|
3030
2888
|
"isAbstract": false,
|
|
3031
2889
|
"name": "getElement"
|
|
3032
2890
|
},
|
|
2891
|
+
{
|
|
2892
|
+
"kind": "Method",
|
|
2893
|
+
"canonicalReference": "@gcorevideo/player!MediaControl#getLeftPanel:member(1)",
|
|
2894
|
+
"docComment": "/**\n * Get the left panel area to append custom elements to\n *\n * @returns ZeptoSelector of the left panel element\n */\n",
|
|
2895
|
+
"excerptTokens": [
|
|
2896
|
+
{
|
|
2897
|
+
"kind": "Content",
|
|
2898
|
+
"text": "getLeftPanel(): "
|
|
2899
|
+
},
|
|
2900
|
+
{
|
|
2901
|
+
"kind": "Content",
|
|
2902
|
+
"text": "any"
|
|
2903
|
+
},
|
|
2904
|
+
{
|
|
2905
|
+
"kind": "Content",
|
|
2906
|
+
"text": ";"
|
|
2907
|
+
}
|
|
2908
|
+
],
|
|
2909
|
+
"isStatic": false,
|
|
2910
|
+
"returnTypeTokenRange": {
|
|
2911
|
+
"startIndex": 1,
|
|
2912
|
+
"endIndex": 2
|
|
2913
|
+
},
|
|
2914
|
+
"releaseTag": "Beta",
|
|
2915
|
+
"isProtected": false,
|
|
2916
|
+
"overloadIndex": 1,
|
|
2917
|
+
"parameters": [],
|
|
2918
|
+
"isOptional": false,
|
|
2919
|
+
"isAbstract": false,
|
|
2920
|
+
"name": "getLeftPanel"
|
|
2921
|
+
},
|
|
3033
2922
|
{
|
|
3034
2923
|
"kind": "Method",
|
|
3035
2924
|
"canonicalReference": "@gcorevideo/player!MediaControl#getRightPanel:member(1)",
|