@htmlbricks/hb-player-live 0.17.0 → 0.17.2
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/extra/docs.ts +64 -3
- package/package.json +5 -4
- package/release/docs.js +64 -4
- package/release/docs.js.map +1 -1
- package/release/docs.ts +64 -3
- package/release/manifest.json +95 -20
- package/release/release.js +1 -1
- package/release/release.js.map +1 -1
- package/release/webcomponent.type.d.ts +5 -2
package/extra/docs.ts
CHANGED
|
@@ -2,13 +2,18 @@ import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup }
|
|
|
2
2
|
import type { Component } from "../app/types/webcomponent.type";
|
|
3
3
|
|
|
4
4
|
export const storybookArgs = {
|
|
5
|
-
width: { control: { type: "
|
|
6
|
-
height: { control: { type: "
|
|
7
|
-
|
|
5
|
+
// width: { control: { type: "text" } },
|
|
6
|
+
// height: { control: { type: "text" } },
|
|
7
|
+
media_type: {
|
|
8
|
+
options: ["", "webrtc", "hls", "auto"],
|
|
9
|
+
control: { type: "select" }, // Automatically inferred when 'options' is defined
|
|
10
|
+
},
|
|
11
|
+
no_controls: { control: { type: "boolean" } },
|
|
8
12
|
mediauri: { control: { type: "text" } },
|
|
9
13
|
forcecover: { control: { type: "text" } },
|
|
10
14
|
replacewithtext: { control: { type: "object" } },
|
|
11
15
|
liveStatus: { action: "liveStatusEvent" },
|
|
16
|
+
timeStamp: { action: "timeStampEvent" },
|
|
12
17
|
};
|
|
13
18
|
|
|
14
19
|
const cssVars: CssVar[] = [];
|
|
@@ -25,6 +30,20 @@ export const styleSetup: StyleSetup = {
|
|
|
25
30
|
parts: cssParts,
|
|
26
31
|
};
|
|
27
32
|
|
|
33
|
+
const mediauri = "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8";
|
|
34
|
+
const replacewithtext1 = {
|
|
35
|
+
title: "title",
|
|
36
|
+
};
|
|
37
|
+
const replacewithtext2 = {
|
|
38
|
+
title: "title",
|
|
39
|
+
subtitle: "subtitle",
|
|
40
|
+
};
|
|
41
|
+
const replacewithtext3 = {
|
|
42
|
+
title: "title",
|
|
43
|
+
subtitle: "subtitle",
|
|
44
|
+
text: "text",
|
|
45
|
+
};
|
|
46
|
+
|
|
28
47
|
const examples: { name: string; description?: string; data: Component }[] = [
|
|
29
48
|
{
|
|
30
49
|
name: "default",
|
|
@@ -32,6 +51,48 @@ const examples: { name: string; description?: string; data: Component }[] = [
|
|
|
32
51
|
mediauri: "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8",
|
|
33
52
|
},
|
|
34
53
|
},
|
|
54
|
+
{
|
|
55
|
+
name: "LiveVideoPlayerWithWidth",
|
|
56
|
+
data: {
|
|
57
|
+
mediauri,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: "LiveVideoPlayerWithHeight",
|
|
62
|
+
data: {
|
|
63
|
+
mediauri,
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: "LiveVideoPlayerWithoutUri",
|
|
68
|
+
data: {
|
|
69
|
+
mediauri: "",
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: "LiveVideoPlayerWithText3",
|
|
74
|
+
data: {
|
|
75
|
+
mediauri,
|
|
76
|
+
replacewithtext: replacewithtext3,
|
|
77
|
+
forcecover: "yes",
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: "LiveVideoPlayerWithText2",
|
|
82
|
+
data: {
|
|
83
|
+
mediauri,
|
|
84
|
+
replacewithtext: replacewithtext2,
|
|
85
|
+
forcecover: "yes",
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: "LiveVideoPlayerWithText1",
|
|
90
|
+
data: {
|
|
91
|
+
mediauri,
|
|
92
|
+
replacewithtext: replacewithtext1,
|
|
93
|
+
forcecover: "yes",
|
|
94
|
+
},
|
|
95
|
+
},
|
|
35
96
|
];
|
|
36
97
|
export const componentSetup: ComponentSetup & { examples: { name: string; description?: string; data: Component }[] } = {
|
|
37
98
|
definitions: null as any,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@htmlbricks/hb-player-live",
|
|
3
3
|
"displayName": "Svelte Boostrap Pagination WebComponent",
|
|
4
4
|
"description": "Svelte Boostrap Pagination WebComponent",
|
|
5
|
-
"version": "0.17.
|
|
5
|
+
"version": "0.17.2",
|
|
6
6
|
"main": "release/release.js",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepublish": "npm run build:release"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@htmlbricks/hb-jsutils": "^0.17.
|
|
33
|
+
"@htmlbricks/hb-jsutils": "^0.17.2",
|
|
34
34
|
"@htmlbricks/manifester": "^0.0.22",
|
|
35
35
|
"@rollup/plugin-alias": "^3.1.2",
|
|
36
36
|
"@rollup/plugin-commonjs": "^18.0.0",
|
|
@@ -76,8 +76,9 @@
|
|
|
76
76
|
"html5-webcomponents"
|
|
77
77
|
],
|
|
78
78
|
"contributors": [],
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "e4df328895489df8c77742569f61f834d9e5f32e",
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"hls.js": "^1.0.10"
|
|
81
|
+
"hls.js": "^1.0.10",
|
|
82
|
+
"simple-webrtc-element": "^0.0.1"
|
|
82
83
|
}
|
|
83
84
|
}
|
package/release/docs.js
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
export var storybookArgs = {
|
|
2
|
-
width: { control: { type: "
|
|
3
|
-
height: { control: { type: "
|
|
4
|
-
|
|
2
|
+
// width: { control: { type: "text" } },
|
|
3
|
+
// height: { control: { type: "text" } },
|
|
4
|
+
media_type: {
|
|
5
|
+
options: ["", "webrtc", "hls", "auto"],
|
|
6
|
+
control: { type: "select" }
|
|
7
|
+
},
|
|
8
|
+
no_controls: { control: { type: "boolean" } },
|
|
5
9
|
mediauri: { control: { type: "text" } },
|
|
6
10
|
forcecover: { control: { type: "text" } },
|
|
7
11
|
replacewithtext: { control: { type: "object" } },
|
|
8
|
-
liveStatus: { action: "liveStatusEvent" }
|
|
12
|
+
liveStatus: { action: "liveStatusEvent" },
|
|
13
|
+
timeStamp: { action: "timeStampEvent" }
|
|
9
14
|
};
|
|
10
15
|
var cssVars = [];
|
|
11
16
|
export var cssParts = [
|
|
@@ -19,6 +24,19 @@ export var styleSetup = {
|
|
|
19
24
|
vars: cssVars,
|
|
20
25
|
parts: cssParts
|
|
21
26
|
};
|
|
27
|
+
var mediauri = "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8";
|
|
28
|
+
var replacewithtext1 = {
|
|
29
|
+
title: "title"
|
|
30
|
+
};
|
|
31
|
+
var replacewithtext2 = {
|
|
32
|
+
title: "title",
|
|
33
|
+
subtitle: "subtitle"
|
|
34
|
+
};
|
|
35
|
+
var replacewithtext3 = {
|
|
36
|
+
title: "title",
|
|
37
|
+
subtitle: "subtitle",
|
|
38
|
+
text: "text"
|
|
39
|
+
};
|
|
22
40
|
var examples = [
|
|
23
41
|
{
|
|
24
42
|
name: "default",
|
|
@@ -26,6 +44,48 @@ var examples = [
|
|
|
26
44
|
mediauri: "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8"
|
|
27
45
|
}
|
|
28
46
|
},
|
|
47
|
+
{
|
|
48
|
+
name: "LiveVideoPlayerWithWidth",
|
|
49
|
+
data: {
|
|
50
|
+
mediauri: mediauri
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: "LiveVideoPlayerWithHeight",
|
|
55
|
+
data: {
|
|
56
|
+
mediauri: mediauri
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: "LiveVideoPlayerWithoutUri",
|
|
61
|
+
data: {
|
|
62
|
+
mediauri: ""
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: "LiveVideoPlayerWithText3",
|
|
67
|
+
data: {
|
|
68
|
+
mediauri: mediauri,
|
|
69
|
+
replacewithtext: replacewithtext3,
|
|
70
|
+
forcecover: "yes"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: "LiveVideoPlayerWithText2",
|
|
75
|
+
data: {
|
|
76
|
+
mediauri: mediauri,
|
|
77
|
+
replacewithtext: replacewithtext2,
|
|
78
|
+
forcecover: "yes"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: "LiveVideoPlayerWithText1",
|
|
83
|
+
data: {
|
|
84
|
+
mediauri: mediauri,
|
|
85
|
+
replacewithtext: replacewithtext1,
|
|
86
|
+
forcecover: "yes"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
29
89
|
];
|
|
30
90
|
export var componentSetup = {
|
|
31
91
|
definitions: null,
|
package/release/docs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,IAAM,aAAa,GAAG;IAC5B,
|
|
1
|
+
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,IAAM,aAAa,GAAG;IAC5B,wCAAwC;IACxC,yCAAyC;IACzC,UAAU,EAAE;QACX,OAAO,EAAE,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC;QACtC,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC3B;IACD,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC7C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACvC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2
|
import type { Component } from "../app/types/webcomponent.type";
|
|
3
3
|
|
|
4
4
|
export const storybookArgs = {
|
|
5
|
-
width: { control: { type: "
|
|
6
|
-
height: { control: { type: "
|
|
7
|
-
|
|
5
|
+
// width: { control: { type: "text" } },
|
|
6
|
+
// height: { control: { type: "text" } },
|
|
7
|
+
media_type: {
|
|
8
|
+
options: ["", "webrtc", "hls", "auto"],
|
|
9
|
+
control: { type: "select" }, // Automatically inferred when 'options' is defined
|
|
10
|
+
},
|
|
11
|
+
no_controls: { control: { type: "boolean" } },
|
|
8
12
|
mediauri: { control: { type: "text" } },
|
|
9
13
|
forcecover: { control: { type: "text" } },
|
|
10
14
|
replacewithtext: { control: { type: "object" } },
|
|
11
15
|
liveStatus: { action: "liveStatusEvent" },
|
|
16
|
+
timeStamp: { action: "timeStampEvent" },
|
|
12
17
|
};
|
|
13
18
|
|
|
14
19
|
const cssVars: CssVar[] = [];
|
|
@@ -25,6 +30,20 @@ export const styleSetup: StyleSetup = {
|
|
|
25
30
|
parts: cssParts,
|
|
26
31
|
};
|
|
27
32
|
|
|
33
|
+
const mediauri = "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8";
|
|
34
|
+
const replacewithtext1 = {
|
|
35
|
+
title: "title",
|
|
36
|
+
};
|
|
37
|
+
const replacewithtext2 = {
|
|
38
|
+
title: "title",
|
|
39
|
+
subtitle: "subtitle",
|
|
40
|
+
};
|
|
41
|
+
const replacewithtext3 = {
|
|
42
|
+
title: "title",
|
|
43
|
+
subtitle: "subtitle",
|
|
44
|
+
text: "text",
|
|
45
|
+
};
|
|
46
|
+
|
|
28
47
|
const examples: { name: string; description?: string; data: Component }[] = [
|
|
29
48
|
{
|
|
30
49
|
name: "default",
|
|
@@ -32,6 +51,48 @@ const examples: { name: string; description?: string; data: Component }[] = [
|
|
|
32
51
|
mediauri: "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8",
|
|
33
52
|
},
|
|
34
53
|
},
|
|
54
|
+
{
|
|
55
|
+
name: "LiveVideoPlayerWithWidth",
|
|
56
|
+
data: {
|
|
57
|
+
mediauri,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: "LiveVideoPlayerWithHeight",
|
|
62
|
+
data: {
|
|
63
|
+
mediauri,
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: "LiveVideoPlayerWithoutUri",
|
|
68
|
+
data: {
|
|
69
|
+
mediauri: "",
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: "LiveVideoPlayerWithText3",
|
|
74
|
+
data: {
|
|
75
|
+
mediauri,
|
|
76
|
+
replacewithtext: replacewithtext3,
|
|
77
|
+
forcecover: "yes",
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: "LiveVideoPlayerWithText2",
|
|
82
|
+
data: {
|
|
83
|
+
mediauri,
|
|
84
|
+
replacewithtext: replacewithtext2,
|
|
85
|
+
forcecover: "yes",
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: "LiveVideoPlayerWithText1",
|
|
90
|
+
data: {
|
|
91
|
+
mediauri,
|
|
92
|
+
replacewithtext: replacewithtext1,
|
|
93
|
+
forcecover: "yes",
|
|
94
|
+
},
|
|
95
|
+
},
|
|
35
96
|
];
|
|
36
97
|
export const componentSetup: ComponentSetup & { examples: { name: string; description?: string; data: Component }[] } = {
|
|
37
98
|
definitions: null as any,
|
package/release/manifest.json
CHANGED
|
@@ -18,10 +18,27 @@
|
|
|
18
18
|
"live"
|
|
19
19
|
],
|
|
20
20
|
"type": "object"
|
|
21
|
+
},
|
|
22
|
+
"timeStamp": {
|
|
23
|
+
"additionalProperties": false,
|
|
24
|
+
"properties": {
|
|
25
|
+
"id": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
"timeStamp": {
|
|
29
|
+
"type": "number"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": [
|
|
33
|
+
"timeStamp",
|
|
34
|
+
"id"
|
|
35
|
+
],
|
|
36
|
+
"type": "object"
|
|
21
37
|
}
|
|
22
38
|
},
|
|
23
39
|
"required": [
|
|
24
|
-
"liveStatus"
|
|
40
|
+
"liveStatus",
|
|
41
|
+
"timeStamp"
|
|
25
42
|
],
|
|
26
43
|
"type": "object"
|
|
27
44
|
}
|
|
@@ -40,9 +57,20 @@
|
|
|
40
57
|
"id": {
|
|
41
58
|
"type": "string"
|
|
42
59
|
},
|
|
60
|
+
"media_type": {
|
|
61
|
+
"enum": [
|
|
62
|
+
"hls",
|
|
63
|
+
"webrtc",
|
|
64
|
+
"auto"
|
|
65
|
+
],
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
43
68
|
"mediauri": {
|
|
44
69
|
"type": "string"
|
|
45
70
|
},
|
|
71
|
+
"no_controls": {
|
|
72
|
+
"type": "boolean"
|
|
73
|
+
},
|
|
46
74
|
"replacewithtext": {
|
|
47
75
|
"additionalProperties": false,
|
|
48
76
|
"properties": {
|
|
@@ -57,9 +85,7 @@
|
|
|
57
85
|
}
|
|
58
86
|
},
|
|
59
87
|
"required": [
|
|
60
|
-
"title"
|
|
61
|
-
"subtitle",
|
|
62
|
-
"text"
|
|
88
|
+
"title"
|
|
63
89
|
],
|
|
64
90
|
"type": "object"
|
|
65
91
|
},
|
|
@@ -76,25 +102,20 @@
|
|
|
76
102
|
}
|
|
77
103
|
},
|
|
78
104
|
"storybookArgs": {
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
"height": {
|
|
105
|
+
"media_type": {
|
|
106
|
+
"options": [
|
|
107
|
+
"",
|
|
108
|
+
"webrtc",
|
|
109
|
+
"hls",
|
|
110
|
+
"auto"
|
|
111
|
+
],
|
|
88
112
|
"control": {
|
|
89
|
-
"type": "
|
|
90
|
-
"min": 100,
|
|
91
|
-
"max": 2000,
|
|
92
|
-
"step": 25
|
|
113
|
+
"type": "select"
|
|
93
114
|
}
|
|
94
115
|
},
|
|
95
|
-
"
|
|
116
|
+
"no_controls": {
|
|
96
117
|
"control": {
|
|
97
|
-
"type": "
|
|
118
|
+
"type": "boolean"
|
|
98
119
|
}
|
|
99
120
|
},
|
|
100
121
|
"mediauri": {
|
|
@@ -114,6 +135,9 @@
|
|
|
114
135
|
},
|
|
115
136
|
"liveStatus": {
|
|
116
137
|
"action": "liveStatusEvent"
|
|
138
|
+
},
|
|
139
|
+
"timeStamp": {
|
|
140
|
+
"action": "timeStampEvent"
|
|
117
141
|
}
|
|
118
142
|
},
|
|
119
143
|
"styleSetup": {
|
|
@@ -144,6 +168,57 @@
|
|
|
144
168
|
"data": {
|
|
145
169
|
"mediauri": "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8"
|
|
146
170
|
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "LiveVideoPlayerWithWidth",
|
|
174
|
+
"data": {
|
|
175
|
+
"mediauri": "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "LiveVideoPlayerWithHeight",
|
|
180
|
+
"data": {
|
|
181
|
+
"mediauri": "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "LiveVideoPlayerWithoutUri",
|
|
186
|
+
"data": {
|
|
187
|
+
"mediauri": ""
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "LiveVideoPlayerWithText3",
|
|
192
|
+
"data": {
|
|
193
|
+
"mediauri": "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8",
|
|
194
|
+
"replacewithtext": {
|
|
195
|
+
"title": "title",
|
|
196
|
+
"subtitle": "subtitle",
|
|
197
|
+
"text": "text"
|
|
198
|
+
},
|
|
199
|
+
"forcecover": "yes"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "LiveVideoPlayerWithText2",
|
|
204
|
+
"data": {
|
|
205
|
+
"mediauri": "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8",
|
|
206
|
+
"replacewithtext": {
|
|
207
|
+
"title": "title",
|
|
208
|
+
"subtitle": "subtitle"
|
|
209
|
+
},
|
|
210
|
+
"forcecover": "yes"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "LiveVideoPlayerWithText1",
|
|
215
|
+
"data": {
|
|
216
|
+
"mediauri": "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8",
|
|
217
|
+
"replacewithtext": {
|
|
218
|
+
"title": "title"
|
|
219
|
+
},
|
|
220
|
+
"forcecover": "yes"
|
|
221
|
+
}
|
|
147
222
|
}
|
|
148
223
|
],
|
|
149
224
|
"screenshots": [],
|
|
@@ -164,5 +239,5 @@
|
|
|
164
239
|
"size": {},
|
|
165
240
|
"iifePath": "release/release.js",
|
|
166
241
|
"repoName": "@htmlbricks/hb-player-live",
|
|
167
|
-
"version": "0.17.
|
|
242
|
+
"version": "0.17.2"
|
|
168
243
|
}
|