@gradio/video 0.6.3 → 0.6.5

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,19 @@
1
1
  # @gradio/video
2
2
 
3
+ ## 0.6.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`8181695`](https://github.com/gradio-app/gradio/commit/8181695e70187e8bc2bf7518697098c8d1b9843d)]:
8
+ - @gradio/upload@0.7.6
9
+ - @gradio/image@0.9.5
10
+
11
+ ## 0.6.4
12
+
13
+ ### Features
14
+
15
+ - [#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)!
16
+
3
17
  ## 0.6.3
4
18
 
5
19
  ### Patch Changes
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.5",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -10,14 +10,14 @@
10
10
  "@ffmpeg/ffmpeg": "^0.12.7",
11
11
  "@ffmpeg/util": "^0.12.1",
12
12
  "mrmime": "^2.0.0",
13
+ "@gradio/client": "^0.12.2",
13
14
  "@gradio/atoms": "^0.5.3",
14
- "@gradio/client": "^0.12.1",
15
- "@gradio/image": "^0.9.3",
16
15
  "@gradio/icons": "^0.3.3",
17
- "@gradio/upload": "^0.7.4",
18
16
  "@gradio/statustracker": "^0.4.8",
19
- "@gradio/utils": "^0.3.0",
20
- "@gradio/wasm": "^0.6.0"
17
+ "@gradio/upload": "^0.7.6",
18
+ "@gradio/image": "^0.9.5",
19
+ "@gradio/wasm": "^0.7.0",
20
+ "@gradio/utils": "^0.3.0"
21
21
  },
22
22
  "exports": {
23
23
  ".": "./index.ts",