@vizor-vr/vue 0.2.0
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/LICENSE +21 -0
- package/README.md +31 -0
- package/dist/VzAnnotation.vue.d.ts +25 -0
- package/dist/VzAnnotation.vue.d.ts.map +1 -0
- package/dist/VzCaption.vue.d.ts +12 -0
- package/dist/VzCaption.vue.d.ts.map +1 -0
- package/dist/VzCinema.vue.d.ts +202 -0
- package/dist/VzCinema.vue.d.ts.map +1 -0
- package/dist/VzImg.vue.d.ts +162 -0
- package/dist/VzImg.vue.d.ts.map +1 -0
- package/dist/VzLive.vue.d.ts +203 -0
- package/dist/VzLive.vue.d.ts.map +1 -0
- package/dist/VzPlaylist.vue.d.ts +54 -0
- package/dist/VzPlaylist.vue.d.ts.map +1 -0
- package/dist/VzTour.vue.d.ts +162 -0
- package/dist/VzTour.vue.d.ts.map +1 -0
- package/dist/VzVideo.vue.d.ts +205 -0
- package/dist/VzVideo.vue.d.ts.map +1 -0
- package/dist/__tests__/components.test.d.ts +2 -0
- package/dist/__tests__/components.test.d.ts.map +1 -0
- package/dist/__tests__/vz-caption.test.d.ts +2 -0
- package/dist/__tests__/vz-caption.test.d.ts.map +1 -0
- package/dist/dash-adapter-tid9ZyhO-4XHuq5__.js +63 -0
- package/dist/dash.all.min-DJEXrg26.js +18063 -0
- package/dist/hls-CxmYC9fy.js +21786 -0
- package/dist/hls-adapter-BivH46L_-BkyufEEx.js +84 -0
- package/dist/index-a2S14O1a.js +283 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +22428 -0
- package/dist/omnitone-BEhsj_gd.js +494 -0
- package/dist/use-vizor.d.ts +166 -0
- package/dist/use-vizor.d.ts.map +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare var __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
autoplay: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
loopPlaylist: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
panel: {
|
|
15
|
+
type: () => "none" | "expandable";
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
}>, {
|
|
19
|
+
el: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
20
|
+
next: () => any;
|
|
21
|
+
previous: () => any;
|
|
22
|
+
goTo: (index: number) => any;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"playlist-change": (...args: any[]) => void;
|
|
25
|
+
"playlist-end": (...args: any[]) => void;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
autoplay: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
loopPlaylist: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
panel: {
|
|
36
|
+
type: () => "none" | "expandable";
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{
|
|
40
|
+
"onPlaylist-change"?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
"onPlaylist-end"?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
autoplay: boolean;
|
|
44
|
+
loopPlaylist: boolean;
|
|
45
|
+
panel: "none" | "expandable";
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=VzPlaylist.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VzPlaylist.vue.d.ts","sourceRoot":"","sources":["../src/VzPlaylist.vue"],"names":[],"mappings":"AAqIA,QAAA,IAAuB,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA0B/C,QAAA,MAAM,eAAe;;;;;;;;;;cAUM,MAAM,MAAM,GAAG,YAAY;;;;;;;kBAxEtC,MAAM;;;;;;;;;;;;;;cAwEK,MAAM,MAAM,GAAG,YAAY;;;;;;;;;;4EAEpD,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
readonly format: {
|
|
3
|
+
readonly type: StringConstructor;
|
|
4
|
+
readonly default: undefined;
|
|
5
|
+
};
|
|
6
|
+
readonly title: {
|
|
7
|
+
readonly type: StringConstructor;
|
|
8
|
+
readonly default: undefined;
|
|
9
|
+
};
|
|
10
|
+
readonly poster: {
|
|
11
|
+
readonly type: StringConstructor;
|
|
12
|
+
readonly default: undefined;
|
|
13
|
+
};
|
|
14
|
+
readonly src: {
|
|
15
|
+
readonly type: StringConstructor;
|
|
16
|
+
readonly default: undefined;
|
|
17
|
+
};
|
|
18
|
+
readonly apiKey: {
|
|
19
|
+
readonly type: StringConstructor;
|
|
20
|
+
readonly default: undefined;
|
|
21
|
+
};
|
|
22
|
+
readonly licenseKey: {
|
|
23
|
+
readonly type: StringConstructor;
|
|
24
|
+
readonly default: undefined;
|
|
25
|
+
};
|
|
26
|
+
readonly apiEndpoint: {
|
|
27
|
+
readonly type: StringConstructor;
|
|
28
|
+
readonly default: undefined;
|
|
29
|
+
};
|
|
30
|
+
readonly contentId: {
|
|
31
|
+
readonly type: StringConstructor;
|
|
32
|
+
readonly default: undefined;
|
|
33
|
+
};
|
|
34
|
+
readonly controlsBehavior: {
|
|
35
|
+
readonly type: () => "autohide" | "always" | "minimal";
|
|
36
|
+
readonly default: undefined;
|
|
37
|
+
};
|
|
38
|
+
readonly hideControls: {
|
|
39
|
+
readonly type: BooleanConstructor;
|
|
40
|
+
readonly default: false;
|
|
41
|
+
};
|
|
42
|
+
readonly primaryColor: {
|
|
43
|
+
readonly type: StringConstructor;
|
|
44
|
+
readonly default: undefined;
|
|
45
|
+
};
|
|
46
|
+
readonly collabServer: {
|
|
47
|
+
readonly type: StringConstructor;
|
|
48
|
+
readonly default: undefined;
|
|
49
|
+
};
|
|
50
|
+
readonly collabRoom: {
|
|
51
|
+
readonly type: StringConstructor;
|
|
52
|
+
readonly default: undefined;
|
|
53
|
+
};
|
|
54
|
+
readonly collabRole: {
|
|
55
|
+
readonly type: () => "host" | "viewer";
|
|
56
|
+
readonly default: undefined;
|
|
57
|
+
};
|
|
58
|
+
readonly collabUserId: {
|
|
59
|
+
readonly type: StringConstructor;
|
|
60
|
+
readonly default: undefined;
|
|
61
|
+
};
|
|
62
|
+
readonly collabDisplayName: {
|
|
63
|
+
readonly type: StringConstructor;
|
|
64
|
+
readonly default: undefined;
|
|
65
|
+
};
|
|
66
|
+
readonly collabPassword: {
|
|
67
|
+
readonly type: StringConstructor;
|
|
68
|
+
readonly default: undefined;
|
|
69
|
+
};
|
|
70
|
+
}>, {
|
|
71
|
+
/** Get the underlying <vz-tour> element */
|
|
72
|
+
el: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
73
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
+
readonly format: {
|
|
75
|
+
readonly type: StringConstructor;
|
|
76
|
+
readonly default: undefined;
|
|
77
|
+
};
|
|
78
|
+
readonly title: {
|
|
79
|
+
readonly type: StringConstructor;
|
|
80
|
+
readonly default: undefined;
|
|
81
|
+
};
|
|
82
|
+
readonly poster: {
|
|
83
|
+
readonly type: StringConstructor;
|
|
84
|
+
readonly default: undefined;
|
|
85
|
+
};
|
|
86
|
+
readonly src: {
|
|
87
|
+
readonly type: StringConstructor;
|
|
88
|
+
readonly default: undefined;
|
|
89
|
+
};
|
|
90
|
+
readonly apiKey: {
|
|
91
|
+
readonly type: StringConstructor;
|
|
92
|
+
readonly default: undefined;
|
|
93
|
+
};
|
|
94
|
+
readonly licenseKey: {
|
|
95
|
+
readonly type: StringConstructor;
|
|
96
|
+
readonly default: undefined;
|
|
97
|
+
};
|
|
98
|
+
readonly apiEndpoint: {
|
|
99
|
+
readonly type: StringConstructor;
|
|
100
|
+
readonly default: undefined;
|
|
101
|
+
};
|
|
102
|
+
readonly contentId: {
|
|
103
|
+
readonly type: StringConstructor;
|
|
104
|
+
readonly default: undefined;
|
|
105
|
+
};
|
|
106
|
+
readonly controlsBehavior: {
|
|
107
|
+
readonly type: () => "autohide" | "always" | "minimal";
|
|
108
|
+
readonly default: undefined;
|
|
109
|
+
};
|
|
110
|
+
readonly hideControls: {
|
|
111
|
+
readonly type: BooleanConstructor;
|
|
112
|
+
readonly default: false;
|
|
113
|
+
};
|
|
114
|
+
readonly primaryColor: {
|
|
115
|
+
readonly type: StringConstructor;
|
|
116
|
+
readonly default: undefined;
|
|
117
|
+
};
|
|
118
|
+
readonly collabServer: {
|
|
119
|
+
readonly type: StringConstructor;
|
|
120
|
+
readonly default: undefined;
|
|
121
|
+
};
|
|
122
|
+
readonly collabRoom: {
|
|
123
|
+
readonly type: StringConstructor;
|
|
124
|
+
readonly default: undefined;
|
|
125
|
+
};
|
|
126
|
+
readonly collabRole: {
|
|
127
|
+
readonly type: () => "host" | "viewer";
|
|
128
|
+
readonly default: undefined;
|
|
129
|
+
};
|
|
130
|
+
readonly collabUserId: {
|
|
131
|
+
readonly type: StringConstructor;
|
|
132
|
+
readonly default: undefined;
|
|
133
|
+
};
|
|
134
|
+
readonly collabDisplayName: {
|
|
135
|
+
readonly type: StringConstructor;
|
|
136
|
+
readonly default: undefined;
|
|
137
|
+
};
|
|
138
|
+
readonly collabPassword: {
|
|
139
|
+
readonly type: StringConstructor;
|
|
140
|
+
readonly default: undefined;
|
|
141
|
+
};
|
|
142
|
+
}>> & Readonly<{}>, {
|
|
143
|
+
readonly format: string;
|
|
144
|
+
readonly title: string;
|
|
145
|
+
readonly poster: string;
|
|
146
|
+
readonly src: string;
|
|
147
|
+
readonly apiKey: string;
|
|
148
|
+
readonly licenseKey: string;
|
|
149
|
+
readonly apiEndpoint: string;
|
|
150
|
+
readonly contentId: string;
|
|
151
|
+
readonly controlsBehavior: "autohide" | "always" | "minimal";
|
|
152
|
+
readonly hideControls: boolean;
|
|
153
|
+
readonly primaryColor: string;
|
|
154
|
+
readonly collabServer: string;
|
|
155
|
+
readonly collabRoom: string;
|
|
156
|
+
readonly collabRole: "host" | "viewer";
|
|
157
|
+
readonly collabUserId: string;
|
|
158
|
+
readonly collabDisplayName: string;
|
|
159
|
+
readonly collabPassword: string;
|
|
160
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
161
|
+
export default _default;
|
|
162
|
+
//# sourceMappingURL=VzTour.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VzTour.vue.d.ts","sourceRoot":"","sources":["../src/VzTour.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0CE,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuE7C,wBAQG"}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
declare var __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
readonly format: {
|
|
7
|
+
readonly type: StringConstructor;
|
|
8
|
+
readonly default: undefined;
|
|
9
|
+
};
|
|
10
|
+
readonly title: {
|
|
11
|
+
readonly type: StringConstructor;
|
|
12
|
+
readonly default: undefined;
|
|
13
|
+
};
|
|
14
|
+
readonly poster: {
|
|
15
|
+
readonly type: StringConstructor;
|
|
16
|
+
readonly default: undefined;
|
|
17
|
+
};
|
|
18
|
+
readonly loop: {
|
|
19
|
+
readonly type: BooleanConstructor;
|
|
20
|
+
readonly default: false;
|
|
21
|
+
};
|
|
22
|
+
readonly muted: {
|
|
23
|
+
readonly type: BooleanConstructor;
|
|
24
|
+
readonly default: false;
|
|
25
|
+
};
|
|
26
|
+
readonly preload: {
|
|
27
|
+
readonly type: () => "auto" | "metadata" | "none";
|
|
28
|
+
readonly default: undefined;
|
|
29
|
+
};
|
|
30
|
+
readonly src: {
|
|
31
|
+
readonly type: StringConstructor;
|
|
32
|
+
readonly default: undefined;
|
|
33
|
+
};
|
|
34
|
+
readonly apiKey: {
|
|
35
|
+
readonly type: StringConstructor;
|
|
36
|
+
readonly default: undefined;
|
|
37
|
+
};
|
|
38
|
+
readonly licenseKey: {
|
|
39
|
+
readonly type: StringConstructor;
|
|
40
|
+
readonly default: undefined;
|
|
41
|
+
};
|
|
42
|
+
readonly apiEndpoint: {
|
|
43
|
+
readonly type: StringConstructor;
|
|
44
|
+
readonly default: undefined;
|
|
45
|
+
};
|
|
46
|
+
readonly contentId: {
|
|
47
|
+
readonly type: StringConstructor;
|
|
48
|
+
readonly default: undefined;
|
|
49
|
+
};
|
|
50
|
+
readonly controlsBehavior: {
|
|
51
|
+
readonly type: () => "autohide" | "always" | "minimal";
|
|
52
|
+
readonly default: undefined;
|
|
53
|
+
};
|
|
54
|
+
readonly hideControls: {
|
|
55
|
+
readonly type: BooleanConstructor;
|
|
56
|
+
readonly default: false;
|
|
57
|
+
};
|
|
58
|
+
readonly primaryColor: {
|
|
59
|
+
readonly type: StringConstructor;
|
|
60
|
+
readonly default: undefined;
|
|
61
|
+
};
|
|
62
|
+
readonly collabServer: {
|
|
63
|
+
readonly type: StringConstructor;
|
|
64
|
+
readonly default: undefined;
|
|
65
|
+
};
|
|
66
|
+
readonly collabRoom: {
|
|
67
|
+
readonly type: StringConstructor;
|
|
68
|
+
readonly default: undefined;
|
|
69
|
+
};
|
|
70
|
+
readonly collabRole: {
|
|
71
|
+
readonly type: () => "host" | "viewer";
|
|
72
|
+
readonly default: undefined;
|
|
73
|
+
};
|
|
74
|
+
readonly collabUserId: {
|
|
75
|
+
readonly type: StringConstructor;
|
|
76
|
+
readonly default: undefined;
|
|
77
|
+
};
|
|
78
|
+
readonly collabDisplayName: {
|
|
79
|
+
readonly type: StringConstructor;
|
|
80
|
+
readonly default: undefined;
|
|
81
|
+
};
|
|
82
|
+
readonly collabPassword: {
|
|
83
|
+
readonly type: StringConstructor;
|
|
84
|
+
readonly default: undefined;
|
|
85
|
+
};
|
|
86
|
+
}>, {
|
|
87
|
+
/** Get the underlying <vz-video> element */
|
|
88
|
+
el: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
89
|
+
/** Call play() on the underlying element */
|
|
90
|
+
play: () => any;
|
|
91
|
+
/** Call pause() on the underlying element */
|
|
92
|
+
pause: () => any;
|
|
93
|
+
/** Seek to a specific time */
|
|
94
|
+
seek: (time: number) => any;
|
|
95
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
96
|
+
readonly format: {
|
|
97
|
+
readonly type: StringConstructor;
|
|
98
|
+
readonly default: undefined;
|
|
99
|
+
};
|
|
100
|
+
readonly title: {
|
|
101
|
+
readonly type: StringConstructor;
|
|
102
|
+
readonly default: undefined;
|
|
103
|
+
};
|
|
104
|
+
readonly poster: {
|
|
105
|
+
readonly type: StringConstructor;
|
|
106
|
+
readonly default: undefined;
|
|
107
|
+
};
|
|
108
|
+
readonly loop: {
|
|
109
|
+
readonly type: BooleanConstructor;
|
|
110
|
+
readonly default: false;
|
|
111
|
+
};
|
|
112
|
+
readonly muted: {
|
|
113
|
+
readonly type: BooleanConstructor;
|
|
114
|
+
readonly default: false;
|
|
115
|
+
};
|
|
116
|
+
readonly preload: {
|
|
117
|
+
readonly type: () => "auto" | "metadata" | "none";
|
|
118
|
+
readonly default: undefined;
|
|
119
|
+
};
|
|
120
|
+
readonly src: {
|
|
121
|
+
readonly type: StringConstructor;
|
|
122
|
+
readonly default: undefined;
|
|
123
|
+
};
|
|
124
|
+
readonly apiKey: {
|
|
125
|
+
readonly type: StringConstructor;
|
|
126
|
+
readonly default: undefined;
|
|
127
|
+
};
|
|
128
|
+
readonly licenseKey: {
|
|
129
|
+
readonly type: StringConstructor;
|
|
130
|
+
readonly default: undefined;
|
|
131
|
+
};
|
|
132
|
+
readonly apiEndpoint: {
|
|
133
|
+
readonly type: StringConstructor;
|
|
134
|
+
readonly default: undefined;
|
|
135
|
+
};
|
|
136
|
+
readonly contentId: {
|
|
137
|
+
readonly type: StringConstructor;
|
|
138
|
+
readonly default: undefined;
|
|
139
|
+
};
|
|
140
|
+
readonly controlsBehavior: {
|
|
141
|
+
readonly type: () => "autohide" | "always" | "minimal";
|
|
142
|
+
readonly default: undefined;
|
|
143
|
+
};
|
|
144
|
+
readonly hideControls: {
|
|
145
|
+
readonly type: BooleanConstructor;
|
|
146
|
+
readonly default: false;
|
|
147
|
+
};
|
|
148
|
+
readonly primaryColor: {
|
|
149
|
+
readonly type: StringConstructor;
|
|
150
|
+
readonly default: undefined;
|
|
151
|
+
};
|
|
152
|
+
readonly collabServer: {
|
|
153
|
+
readonly type: StringConstructor;
|
|
154
|
+
readonly default: undefined;
|
|
155
|
+
};
|
|
156
|
+
readonly collabRoom: {
|
|
157
|
+
readonly type: StringConstructor;
|
|
158
|
+
readonly default: undefined;
|
|
159
|
+
};
|
|
160
|
+
readonly collabRole: {
|
|
161
|
+
readonly type: () => "host" | "viewer";
|
|
162
|
+
readonly default: undefined;
|
|
163
|
+
};
|
|
164
|
+
readonly collabUserId: {
|
|
165
|
+
readonly type: StringConstructor;
|
|
166
|
+
readonly default: undefined;
|
|
167
|
+
};
|
|
168
|
+
readonly collabDisplayName: {
|
|
169
|
+
readonly type: StringConstructor;
|
|
170
|
+
readonly default: undefined;
|
|
171
|
+
};
|
|
172
|
+
readonly collabPassword: {
|
|
173
|
+
readonly type: StringConstructor;
|
|
174
|
+
readonly default: undefined;
|
|
175
|
+
};
|
|
176
|
+
}>> & Readonly<{}>, {
|
|
177
|
+
readonly format: string;
|
|
178
|
+
readonly title: string;
|
|
179
|
+
readonly poster: string;
|
|
180
|
+
readonly loop: boolean;
|
|
181
|
+
readonly muted: boolean;
|
|
182
|
+
readonly preload: "auto" | "metadata" | "none";
|
|
183
|
+
readonly src: string;
|
|
184
|
+
readonly apiKey: string;
|
|
185
|
+
readonly licenseKey: string;
|
|
186
|
+
readonly apiEndpoint: string;
|
|
187
|
+
readonly contentId: string;
|
|
188
|
+
readonly controlsBehavior: "autohide" | "always" | "minimal";
|
|
189
|
+
readonly hideControls: boolean;
|
|
190
|
+
readonly primaryColor: string;
|
|
191
|
+
readonly collabServer: string;
|
|
192
|
+
readonly collabRoom: string;
|
|
193
|
+
readonly collabRole: "host" | "viewer";
|
|
194
|
+
readonly collabUserId: string;
|
|
195
|
+
readonly collabDisplayName: string;
|
|
196
|
+
readonly collabPassword: string;
|
|
197
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
198
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
199
|
+
export default _default;
|
|
200
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
201
|
+
new (): {
|
|
202
|
+
$slots: S;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
//# sourceMappingURL=VzVideo.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VzVideo.vue.d.ts","sourceRoot":"","sources":["../src/VzVideo.vue"],"names":[],"mappings":"AAsIA,QAAA,IAAuB,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAsB/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAnGnB,4CAA4C;;IAE5C,4CAA4C;;IAE5C,6CAA6C;;IAE7C,8BAA8B;iBACjB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAoGnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/components.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vz-caption.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/vz-caption.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
var d = Object.defineProperty;
|
|
2
|
+
var o = (i, t, e) => t in i ? d(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
|
+
var s = (i, t, e) => o(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
+
class c {
|
|
5
|
+
constructor() {
|
|
6
|
+
s(this, "videoElement", null);
|
|
7
|
+
s(this, "player", null);
|
|
8
|
+
s(this, "_isAttached", !1);
|
|
9
|
+
s(this, "levels", []);
|
|
10
|
+
}
|
|
11
|
+
get supportsABR() {
|
|
12
|
+
return !0;
|
|
13
|
+
}
|
|
14
|
+
get isAttached() {
|
|
15
|
+
return this._isAttached;
|
|
16
|
+
}
|
|
17
|
+
attach(t) {
|
|
18
|
+
this.videoElement = t, this._isAttached = !0;
|
|
19
|
+
}
|
|
20
|
+
async load(t) {
|
|
21
|
+
if (this.videoElement)
|
|
22
|
+
try {
|
|
23
|
+
const e = await import("./dash.all.min-DJEXrg26.js").then((r) => r.d);
|
|
24
|
+
this.player && this.player.destroy();
|
|
25
|
+
const l = e.MediaPlayer().create();
|
|
26
|
+
l.initialize(this.videoElement, t, !1), l.on("streamInitialized", () => {
|
|
27
|
+
try {
|
|
28
|
+
const r = l.getBitrateInfoListFor("video");
|
|
29
|
+
this.levels = r.map(
|
|
30
|
+
(a, h) => ({
|
|
31
|
+
label: a.height ? `${a.height}p` : `Level ${h}`,
|
|
32
|
+
width: a.width,
|
|
33
|
+
height: a.height,
|
|
34
|
+
bitrate: a.bitrate,
|
|
35
|
+
active: !1
|
|
36
|
+
})
|
|
37
|
+
);
|
|
38
|
+
} catch {
|
|
39
|
+
}
|
|
40
|
+
}), this.player = l;
|
|
41
|
+
} catch (e) {
|
|
42
|
+
console.error("[Vizor] Failed to load dashjs:", e);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
getQualityLevels() {
|
|
46
|
+
return this.levels;
|
|
47
|
+
}
|
|
48
|
+
setQualityLevel(t) {
|
|
49
|
+
if (!this.player) return;
|
|
50
|
+
const e = this.player;
|
|
51
|
+
t === -1 ? e.updateSettings({
|
|
52
|
+
streaming: { abr: { autoSwitchBitrate: { video: !0 } } }
|
|
53
|
+
}) : (e.updateSettings({
|
|
54
|
+
streaming: { abr: { autoSwitchBitrate: { video: !1 } } }
|
|
55
|
+
}), e.setQualityFor("video", t));
|
|
56
|
+
}
|
|
57
|
+
destroy() {
|
|
58
|
+
this.player && this.player.destroy(), this.player = null, this.videoElement = null, this._isAttached = !1, this.levels = [];
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
export {
|
|
62
|
+
c as DashAdapter
|
|
63
|
+
};
|