From bce557cc2dc767628bed6aac87301a1be7c5431b Mon Sep 17 00:00:00 2001 From: rxliuli Date: Tue, 4 Nov 2025 05:03:50 +0800 Subject: init commit --- src/components/VideoPlayer.svelte | 412 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 412 insertions(+) create mode 100644 src/components/VideoPlayer.svelte (limited to 'src/components/VideoPlayer.svelte') diff --git a/src/components/VideoPlayer.svelte b/src/components/VideoPlayer.svelte new file mode 100644 index 0000000..8012b9f --- /dev/null +++ b/src/components/VideoPlayer.svelte @@ -0,0 +1,412 @@ + + +
+
+ +
+ + {#if shouldSuperimposePosterImage && !hasPlaybackBeenInitiated} + + {/if} + + {#if useControls} +
+ {#if shouldShowReplayControl} + + {/if} + + {#if shouldShowPlaybackControls} +
+ + + + + +
+ {/if} +
+ {/if} +
+ + -- cgit v1.2.3