@gradio/video 0.1.0-beta.9 → 0.1.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/CHANGELOG.md +11 -0
- package/Index.svelte +3 -3
- package/Video.test.ts +8 -8
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# @gradio/video
|
2
2
|
|
3
|
+
## 0.1.0
|
4
|
+
|
5
|
+
### Features
|
6
|
+
|
7
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)!
|
8
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Clean root url. Thanks [@pngwn](https://github.com/pngwn)!
|
9
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Improve Video Component. Thanks [@pngwn](https://github.com/pngwn)!
|
10
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Image v4. Thanks [@pngwn](https://github.com/pngwn)!
|
11
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Publish all components to npm. Thanks [@pngwn](https://github.com/pngwn)!
|
12
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Custom components. Thanks [@pngwn](https://github.com/pngwn)!
|
13
|
+
|
3
14
|
## 0.1.0-beta.9
|
4
15
|
|
5
16
|
### Features
|
package/Index.svelte
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
| ["webcam", "upload"]
|
25
25
|
| ["upload", "webcam"];
|
26
26
|
export let root: string;
|
27
|
-
export let
|
27
|
+
export let proxy_url: null | string;
|
28
28
|
export let show_label: boolean;
|
29
29
|
export let loading_status: LoadingStatus;
|
30
30
|
export let height: number | undefined;
|
@@ -82,8 +82,8 @@
|
|
82
82
|
|
83
83
|
$: {
|
84
84
|
if (value != null) {
|
85
|
-
_video = normalise_file(value.video, root,
|
86
|
-
_subtitle = normalise_file(value.subtitles, root,
|
85
|
+
_video = normalise_file(value.video, root, proxy_url);
|
86
|
+
_subtitle = normalise_file(value.subtitles, root, proxy_url);
|
87
87
|
} else {
|
88
88
|
_video = null;
|
89
89
|
_subtitle = null;
|
package/Video.test.ts
CHANGED
@@ -46,7 +46,7 @@ describe("Video", () => {
|
|
46
46
|
},
|
47
47
|
label: "Test Label",
|
48
48
|
root: "foo",
|
49
|
-
|
49
|
+
proxy_url: null,
|
50
50
|
streaming: false,
|
51
51
|
pending: false,
|
52
52
|
name: "bar",
|
@@ -72,7 +72,7 @@ describe("Video", () => {
|
|
72
72
|
},
|
73
73
|
label: "Video Component",
|
74
74
|
root: "foo",
|
75
|
-
|
75
|
+
proxy_url: null,
|
76
76
|
streaming: false,
|
77
77
|
pending: false,
|
78
78
|
name: "bar",
|
@@ -92,7 +92,7 @@ describe("Video", () => {
|
|
92
92
|
}
|
93
93
|
},
|
94
94
|
root: "foo",
|
95
|
-
|
95
|
+
proxy_url: null,
|
96
96
|
streaming: false,
|
97
97
|
pending: false,
|
98
98
|
name: "bar",
|
@@ -117,7 +117,7 @@ describe("Video", () => {
|
|
117
117
|
}
|
118
118
|
},
|
119
119
|
root: "foo",
|
120
|
-
|
120
|
+
proxy_url: null,
|
121
121
|
streaming: false,
|
122
122
|
pending: false,
|
123
123
|
sources: ["upload"],
|
@@ -139,7 +139,7 @@ describe("Video", () => {
|
|
139
139
|
}
|
140
140
|
},
|
141
141
|
root: "foo",
|
142
|
-
|
142
|
+
proxy_url: null,
|
143
143
|
streaming: false,
|
144
144
|
pending: false,
|
145
145
|
sources: ["upload"],
|
@@ -162,7 +162,7 @@ describe("Video", () => {
|
|
162
162
|
}
|
163
163
|
},
|
164
164
|
root: "foo",
|
165
|
-
|
165
|
+
proxy_url: null,
|
166
166
|
streaming: false,
|
167
167
|
pending: false,
|
168
168
|
sources: ["upload"],
|
@@ -193,7 +193,7 @@ describe("Video", () => {
|
|
193
193
|
}
|
194
194
|
},
|
195
195
|
root: "foo",
|
196
|
-
|
196
|
+
proxy_url: null,
|
197
197
|
streaming: false,
|
198
198
|
pending: false,
|
199
199
|
sources: ["upload"],
|
@@ -249,7 +249,7 @@ describe("Video", () => {
|
|
249
249
|
}
|
250
250
|
],
|
251
251
|
root: "foo",
|
252
|
-
|
252
|
+
proxy_url: null,
|
253
253
|
streaming: false,
|
254
254
|
pending: false,
|
255
255
|
sources: ["upload"],
|
package/package.json
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/video",
|
3
|
-
"version": "0.1.0
|
3
|
+
"version": "0.1.0",
|
4
4
|
"description": "Gradio UI packages",
|
5
5
|
"type": "module",
|
6
6
|
"author": "",
|
7
7
|
"license": "ISC",
|
8
8
|
"private": false,
|
9
9
|
"dependencies": {
|
10
|
-
"@gradio/atoms": "^0.2.0
|
11
|
-
"@gradio/client": "^0.7.0
|
12
|
-
"@gradio/icons": "^0.2.0
|
13
|
-
"@gradio/image": "^0.3.0
|
14
|
-
"@gradio/statustracker": "^0.3.0
|
15
|
-
"@gradio/upload": "^0.3.0
|
16
|
-
"@gradio/utils": "^0.2.0
|
17
|
-
"@gradio/wasm": "^0.2.0
|
10
|
+
"@gradio/atoms": "^0.2.0",
|
11
|
+
"@gradio/client": "^0.7.0",
|
12
|
+
"@gradio/icons": "^0.2.0",
|
13
|
+
"@gradio/image": "^0.3.0",
|
14
|
+
"@gradio/statustracker": "^0.3.0",
|
15
|
+
"@gradio/upload": "^0.3.0",
|
16
|
+
"@gradio/utils": "^0.2.0",
|
17
|
+
"@gradio/wasm": "^0.2.0"
|
18
18
|
},
|
19
19
|
"exports": {
|
20
20
|
".": "./index.ts",
|