From d3e73e6896baa4fdf396bd4c97ca33a9203c1026 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Fri, 6 May 2022 15:32:40 -0500 Subject: [PATCH] Add video player astro component --- src/components/video/player.astro | 63 +++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 src/components/video/player.astro diff --git a/src/components/video/player.astro b/src/components/video/player.astro new file mode 100644 index 0000000..b208964 --- /dev/null +++ b/src/components/video/player.astro @@ -0,0 +1,63 @@ +--- +import Poster from './poster.astro' +import Timestamps from './timestamps.astro' + +const { + video, + width = '325px', + classes = 'w-full flex-shrink-0 flex-grow-0 border-2 border-transparent rounded-2xl overflow-hidden' +} = Astro.props + +--- + +