@gradio/video 0.6.3 → 0.6.4

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @gradio/video
2
2
 
3
+ ## 0.6.4
4
+
5
+ ### Features
6
+
7
+ - [#7528](https://github.com/gradio-app/gradio/pull/7528) [`eda33b3`](https://github.com/gradio-app/gradio/commit/eda33b3763897a542acf298e523fa493dc655aee) - Refactors `get_fetchable_url_or_file()` to remove it from the frontend. Thanks [@abidlabs](https://github.com/abidlabs)!
8
+
3
9
  ## 0.6.3
4
10
 
5
11
  ### Patch Changes
@@ -348,4 +354,4 @@ Thanks [@pngwn](https://github.com/pngwn)!
348
354
  - @gradio/image@0.1.0
349
355
  - @gradio/utils@0.0.2
350
356
  - @gradio/atoms@0.0.2
351
- - @gradio/upload@0.0.2
357
+ - @gradio/upload@0.0.2
package/Example.svelte CHANGED
@@ -6,7 +6,6 @@
6
6
  export let type: "gallery" | "table";
7
7
  export let selected = false;
8
8
  export let value: { video: FileData; subtitles: FileData | null } | null;
9
- export let samples_dir: string;
10
9
  let video: HTMLVideoElement;
11
10
 
12
11
  async function init(): Promise<void> {
@@ -35,7 +34,7 @@
35
34
  on:loadeddata={init}
36
35
  on:mouseover={video.play.bind(video)}
37
36
  on:mouseout={video.pause.bind(video)}
38
- src={samples_dir + value?.video.path}
37
+ src={value?.video.url}
39
38
  />
40
39
  </div>
41
40
  {:else}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/video",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -11,13 +11,13 @@
11
11
  "@ffmpeg/util": "^0.12.1",
12
12
  "mrmime": "^2.0.0",
13
13
  "@gradio/atoms": "^0.5.3",
14
- "@gradio/client": "^0.12.1",
15
- "@gradio/image": "^0.9.3",
16
- "@gradio/icons": "^0.3.3",
17
- "@gradio/upload": "^0.7.4",
14
+ "@gradio/image": "^0.9.4",
15
+ "@gradio/client": "^0.12.2",
18
16
  "@gradio/statustracker": "^0.4.8",
17
+ "@gradio/icons": "^0.3.3",
19
18
  "@gradio/utils": "^0.3.0",
20
- "@gradio/wasm": "^0.6.0"
19
+ "@gradio/wasm": "^0.7.0",
20
+ "@gradio/upload": "^0.7.5"
21
21
  },
22
22
  "exports": {
23
23
  ".": "./index.ts",