@gradio/video 0.22.0 → 0.23.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 +15 -0
- package/dist/shared/Player.svelte +3 -2
- package/package.json +8 -8
- package/shared/Player.svelte +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @gradio/video
|
|
2
2
|
|
|
3
|
+
## 0.23.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- [#13329](https://github.com/gradio-app/gradio/pull/13329) [`7ac583a`](https://github.com/gradio-app/gradio/commit/7ac583a38a4c995d172033ff6e3700390201ff21) - Make builds go zoom zoom. Thanks @pngwn!
|
|
8
|
+
|
|
9
|
+
### Dependency updates
|
|
10
|
+
|
|
11
|
+
- @gradio/client@2.4.0
|
|
12
|
+
- @gradio/utils@0.14.0
|
|
13
|
+
- @gradio/atoms@0.26.1
|
|
14
|
+
- @gradio/statustracker@0.15.2
|
|
15
|
+
- @gradio/upload@0.18.2
|
|
16
|
+
- @gradio/image@0.28.1
|
|
17
|
+
|
|
3
18
|
## 0.22.0
|
|
4
19
|
|
|
5
20
|
### Features
|
|
@@ -190,9 +190,10 @@
|
|
|
190
190
|
|
|
191
191
|
$effect(() => {
|
|
192
192
|
if (
|
|
193
|
-
playback_position !== undefined &&
|
|
194
193
|
playback_position !== time &&
|
|
195
|
-
video
|
|
194
|
+
video &&
|
|
195
|
+
typeof playback_position === "number" &&
|
|
196
|
+
Number.isFinite(playback_position)
|
|
196
197
|
) {
|
|
197
198
|
video.currentTime = playback_position;
|
|
198
199
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/video",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "Gradio UI packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "",
|
|
@@ -11,16 +11,16 @@
|
|
|
11
11
|
"@ffmpeg/util": "^0.12.2",
|
|
12
12
|
"hls.js": "^1.6.13",
|
|
13
13
|
"mrmime": "^2.0.1",
|
|
14
|
-
"@gradio/atoms": "^0.26.
|
|
14
|
+
"@gradio/atoms": "^0.26.1",
|
|
15
15
|
"@gradio/icons": "^0.16.0",
|
|
16
|
-
"@gradio/image": "^0.28.
|
|
17
|
-
"@gradio/
|
|
18
|
-
"@gradio/
|
|
19
|
-
"@gradio/
|
|
20
|
-
"@gradio/
|
|
16
|
+
"@gradio/image": "^0.28.1",
|
|
17
|
+
"@gradio/client": "^2.4.0",
|
|
18
|
+
"@gradio/statustracker": "^0.15.2",
|
|
19
|
+
"@gradio/upload": "^0.18.2",
|
|
20
|
+
"@gradio/utils": "^0.14.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@gradio/preview": "^0.
|
|
23
|
+
"@gradio/preview": "^0.17.0"
|
|
24
24
|
},
|
|
25
25
|
"exports": {
|
|
26
26
|
"./package.json": "./package.json",
|
package/shared/Player.svelte
CHANGED
|
@@ -190,9 +190,10 @@
|
|
|
190
190
|
|
|
191
191
|
$effect(() => {
|
|
192
192
|
if (
|
|
193
|
-
playback_position !== undefined &&
|
|
194
193
|
playback_position !== time &&
|
|
195
|
-
video
|
|
194
|
+
video &&
|
|
195
|
+
typeof playback_position === "number" &&
|
|
196
|
+
Number.isFinite(playback_position)
|
|
196
197
|
) {
|
|
197
198
|
video.currentTime = playback_position;
|
|
198
199
|
}
|