Skip to content

Instantly share code, notes, and snippets.

@wplit
Last active September 15, 2024 11:49
Show Gist options
  • Save wplit/0910e72c06dbd9ebbb2cc9bda295894c to your computer and use it in GitHub Desktop.
Save wplit/0910e72c06dbd9ebbb2cc9bda295894c to your computer and use it in GitHub Desktop.
<link rel="stylesheet" href="https://cdn.vidstack.io/player/theme.css" />
<link rel="stylesheet" href="https://cdn.vidstack.io/player/video.css" />
<script src="https://cdn.vidstack.io/player" type="module"></script>
<media-player
playsinline
load="play"
title="Sprite Fight"
src="youtube/_cMxraX_5RE"
>
<media-provider>
<media-poster
class="vds-poster"
src="https://files.vidstack.io/sprite-fight/poster.webp"
alt="Girl walks into campfire with gnomes surrounding her friend ready for their next meal!"
></media-poster>
</media-provider>
<media-video-layout thumbnails="https://files.vidstack.io/sprite-fight/thumbnails.vtt"></media-video-layout>
</media-player>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment