Skip to content

Commit

Permalink
feat: add webm version of video
Browse files Browse the repository at this point in the history
  • Loading branch information
agrattan0820 committed Jul 26, 2024
1 parent ad62d2c commit adbc531
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
Binary file not shown.
12 changes: 10 additions & 2 deletions apps/client/src/app/how-to-play/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,21 @@ export default async function HowToPlay() {
AI-generated images in response to amusing prompts.
</p>
<video
src="/artificial-unintelligence-promo.mp4"
controls
autoPlay
muted
playsInline
className="aspect-video w-full"
/>
>
<source
src="/artificial-unintelligence-promo.webm"
type="video/webm"
/>
<source
src="/artificial-unintelligence-promo.mp4"
type="video/mp4"
/>
</video>
Some prompts you might encounter:
<ul>
<li>A canceled children&apos;s toy</li>
Expand Down
12 changes: 10 additions & 2 deletions apps/client/src/components/homepage-template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,21 @@ export default function HomepageTemplate({
type="SMILING"
/>
<video
src="/artificial-unintelligence-promo.mp4"
controls
autoPlay
muted
playsInline
className="relative mx-auto aspect-video w-full rounded-2xl bg-black shadow-2xl shadow-indigo-500 lg:max-w-full"
></video>
>
<source
src="/artificial-unintelligence-promo.webm"
type="video/webm"
/>
<source
src="/artificial-unintelligence-promo.mp4"
type="video/mp4"
/>
</video>
</div>
</section>
</main>
Expand Down

0 comments on commit adbc531

Please sign in to comment.