diff --git a/site/src/components/docs/demos/airplay-button/html/tailwind/BasicUsage.astro b/site/src/components/docs/demos/airplay-button/html/tailwind/BasicUsage.astro new file mode 100644 index 00000000..c515bacd --- /dev/null +++ b/site/src/components/docs/demos/airplay-button/html/tailwind/BasicUsage.astro @@ -0,0 +1,9 @@ +--- +import HtmlDemo from '@/components/docs/demos/HtmlDemo.astro'; +import html from './BasicUsage.html?raw'; +--- + + + diff --git a/site/src/components/docs/demos/airplay-button/html/tailwind/BasicUsage.html b/site/src/components/docs/demos/airplay-button/html/tailwind/BasicUsage.html new file mode 100644 index 00000000..b65846d8 --- /dev/null +++ b/site/src/components/docs/demos/airplay-button/html/tailwind/BasicUsage.html @@ -0,0 +1,20 @@ + + + + + + + + + + + diff --git a/site/src/components/docs/demos/airplay-button/html/tailwind/BasicUsage.ts b/site/src/components/docs/demos/airplay-button/html/tailwind/BasicUsage.ts new file mode 100644 index 00000000..14879a23 --- /dev/null +++ b/site/src/components/docs/demos/airplay-button/html/tailwind/BasicUsage.ts @@ -0,0 +1,2 @@ +import '@videojs/html/video/player'; +import '@videojs/html/ui/airplay-button'; diff --git a/site/src/components/docs/demos/airplay-button/react/tailwind/BasicUsage.tsx b/site/src/components/docs/demos/airplay-button/react/tailwind/BasicUsage.tsx new file mode 100644 index 00000000..6e4f8923 --- /dev/null +++ b/site/src/components/docs/demos/airplay-button/react/tailwind/BasicUsage.tsx @@ -0,0 +1,35 @@ +import { AirPlayButton, createPlayer } from '@videojs/react'; +import { Video, videoFeatures } from '@videojs/react/video'; + +const Player = createPlayer({ features: videoFeatures }); + +export default function BasicUsage() { + return ( + + + + + ); +} diff --git a/site/src/components/docs/demos/buffering-indicator/html/tailwind/BasicUsage.astro b/site/src/components/docs/demos/buffering-indicator/html/tailwind/BasicUsage.astro new file mode 100644 index 00000000..c515bacd --- /dev/null +++ b/site/src/components/docs/demos/buffering-indicator/html/tailwind/BasicUsage.astro @@ -0,0 +1,9 @@ +--- +import HtmlDemo from '@/components/docs/demos/HtmlDemo.astro'; +import html from './BasicUsage.html?raw'; +--- + + + diff --git a/site/src/components/docs/demos/buffering-indicator/html/tailwind/BasicUsage.html b/site/src/components/docs/demos/buffering-indicator/html/tailwind/BasicUsage.html new file mode 100644 index 00000000..42e3c8d8 --- /dev/null +++ b/site/src/components/docs/demos/buffering-indicator/html/tailwind/BasicUsage.html @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/site/src/components/docs/demos/buffering-indicator/html/tailwind/BasicUsage.ts b/site/src/components/docs/demos/buffering-indicator/html/tailwind/BasicUsage.ts new file mode 100644 index 00000000..c28dcd98 --- /dev/null +++ b/site/src/components/docs/demos/buffering-indicator/html/tailwind/BasicUsage.ts @@ -0,0 +1,2 @@ +import '@videojs/html/video/player'; +import '@videojs/html/ui/buffering-indicator'; diff --git a/site/src/components/docs/demos/buffering-indicator/react/tailwind/BasicUsage.tsx b/site/src/components/docs/demos/buffering-indicator/react/tailwind/BasicUsage.tsx new file mode 100644 index 00000000..014cbd7f --- /dev/null +++ b/site/src/components/docs/demos/buffering-indicator/react/tailwind/BasicUsage.tsx @@ -0,0 +1,30 @@ +import { BufferingIndicator, createPlayer } from '@videojs/react'; +import { Video, videoFeatures } from '@videojs/react/video'; + +const Player = createPlayer({ features: videoFeatures }); + +export default function BasicUsage() { + return ( + + +