@gradio/video 0.14.13 → 0.14.14
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 +14 -0
- package/dist/shared/InteractiveVideo.svelte +2 -1
- package/dist/shared/Player.svelte +1 -0
- package/dist/shared/Player.svelte.d.ts +1 -0
- package/dist/shared/Video.svelte +1 -0
- package/package.json +7 -7
- package/shared/InteractiveVideo.svelte +2 -1
- package/shared/Player.svelte +1 -0
- package/shared/Video.svelte +1 -0
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# @gradio/video
|
2
2
|
|
3
|
+
## 0.14.14
|
4
|
+
|
5
|
+
### Fixes
|
6
|
+
|
7
|
+
- [#11117](https://github.com/gradio-app/gradio/pull/11117) [`9b976b7`](https://github.com/gradio-app/gradio/commit/9b976b750a61368f369bcefaacda6d4fb0975c5f) - Raise UI error if video not playable in the browser. Thanks @freddyaboulton!
|
8
|
+
|
9
|
+
### Dependency updates
|
10
|
+
|
11
|
+
- @gradio/statustracker@0.10.11
|
12
|
+
- @gradio/atoms@0.16.1
|
13
|
+
- @gradio/client@1.15.0
|
14
|
+
- @gradio/upload@0.16.5
|
15
|
+
- @gradio/image@0.22.6
|
16
|
+
|
3
17
|
## 0.14.13
|
4
18
|
|
5
19
|
### Dependency updates
|
@@ -87,7 +87,7 @@ $:
|
|
87
87
|
/>
|
88
88
|
{/if}
|
89
89
|
</div>
|
90
|
-
{:else if
|
90
|
+
{:else if value?.url}
|
91
91
|
{#key value?.url}
|
92
92
|
<Player
|
93
93
|
{upload}
|
@@ -101,6 +101,7 @@ $:
|
|
101
101
|
on:pause
|
102
102
|
on:stop
|
103
103
|
on:end
|
104
|
+
on:error
|
104
105
|
mirror={webcam_options.mirror && active_source === "webcam"}
|
105
106
|
{label}
|
106
107
|
{handle_change}
|
package/dist/shared/Video.svelte
CHANGED
@@ -107,6 +107,7 @@ Then, even when `controls` is false, the compiled DOM would be `<video controls=
|
|
107
107
|
on:mouseout={dispatch.bind(null, "mouseout")}
|
108
108
|
on:focus={dispatch.bind(null, "focus")}
|
109
109
|
on:blur={dispatch.bind(null, "blur")}
|
110
|
+
on:error={dispatch.bind(null, "error", "Video not playable")}
|
110
111
|
on:loadstart
|
111
112
|
on:loadeddata
|
112
113
|
on:loadedmetadata
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/video",
|
3
|
-
"version": "0.14.
|
3
|
+
"version": "0.14.14",
|
4
4
|
"description": "Gradio UI packages",
|
5
5
|
"type": "module",
|
6
6
|
"author": "",
|
@@ -11,14 +11,14 @@
|
|
11
11
|
"@ffmpeg/util": "^0.12.1",
|
12
12
|
"hls.js": "^1.5.13",
|
13
13
|
"mrmime": "^2.0.0",
|
14
|
-
"@gradio/atoms": "^0.16.
|
14
|
+
"@gradio/atoms": "^0.16.1",
|
15
|
+
"@gradio/client": "^1.15.0",
|
15
16
|
"@gradio/icons": "^0.12.0",
|
16
|
-
"@gradio/
|
17
|
-
"@gradio/
|
18
|
-
"@gradio/
|
19
|
-
"@gradio/image": "^0.22.5",
|
17
|
+
"@gradio/image": "^0.22.6",
|
18
|
+
"@gradio/upload": "^0.16.5",
|
19
|
+
"@gradio/utils": "^0.10.2",
|
20
20
|
"@gradio/wasm": "^0.18.1",
|
21
|
-
"@gradio/
|
21
|
+
"@gradio/statustracker": "^0.10.11"
|
22
22
|
},
|
23
23
|
"devDependencies": {
|
24
24
|
"@gradio/preview": "^0.13.0"
|
@@ -112,7 +112,7 @@
|
|
112
112
|
/>
|
113
113
|
{/if}
|
114
114
|
</div>
|
115
|
-
{:else if
|
115
|
+
{:else if value?.url}
|
116
116
|
{#key value?.url}
|
117
117
|
<Player
|
118
118
|
{upload}
|
@@ -126,6 +126,7 @@
|
|
126
126
|
on:pause
|
127
127
|
on:stop
|
128
128
|
on:end
|
129
|
+
on:error
|
129
130
|
mirror={webcam_options.mirror && active_source === "webcam"}
|
130
131
|
{label}
|
131
132
|
{handle_change}
|
package/shared/Player.svelte
CHANGED
package/shared/Video.svelte
CHANGED
@@ -128,6 +128,7 @@ Then, even when `controls` is false, the compiled DOM would be `<video controls=
|
|
128
128
|
on:mouseout={dispatch.bind(null, "mouseout")}
|
129
129
|
on:focus={dispatch.bind(null, "focus")}
|
130
130
|
on:blur={dispatch.bind(null, "blur")}
|
131
|
+
on:error={dispatch.bind(null, "error", "Video not playable")}
|
131
132
|
on:loadstart
|
132
133
|
on:loadeddata
|
133
134
|
on:loadedmetadata
|