gradio/js/video
pngwn 2382f741ff
chore: update versions (#7177)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-06 15:19:29 -08:00
..
shared chore: Change time format (#7274) 2024-02-01 13:23:19 -08:00
CHANGELOG.md chore: update versions (#7177) 2024-02-06 15:19:29 -08:00
Example.svelte Handle the case where examples is null for all components (#7192) 2024-01-29 16:51:22 -08:00
Index.svelte Allow download button for interactive Audio and Video components (#7104) 2024-01-23 11:33:59 +01:00
index.ts
package.json chore: update versions (#7177) 2024-02-06 15:19:29 -08:00
README.md
Video.stories.svelte Add mobile Chromatic tests (#7222) 2024-02-02 14:21:48 +00:00
Video.test.ts

@gradio/video

<script>
	import { BaseInteractiveVideo, BaseStaticVideo, BasePlayer } from "@gradio/button";
	import type { FileData } from "@gradio/upload";
	import type { Gradio } from "@gradio/utils";
	export let _video: FileData;
</script>

<StaticVideo
	value={_video}
	{label}
	{show_label}
	{autoplay}
	{show_share_button}
	i18n={gradio.i18n}
/>

<Video
	value={_video}
	{label}
	{show_label}
	source={"upload"}
	{mirror_webcam}
	{include_audio}
	{autoplay}
	i18n={gradio.i18n}
>
	<p>Upload Video Here</p>
</Video>

<BasePlayer
	src={value.data}
	{autoplay}
	on:play
	on:pause
	on:stop
	on:end
	mirror={false}
	{label}
/>