Skip to content

Commit

Permalink
fix: remove example themes
Browse files Browse the repository at this point in the history
point to JS urls to player.style
  • Loading branch information
luwes committed Aug 16, 2024
1 parent 63fa896 commit 9f67ab7
Show file tree
Hide file tree
Showing 56 changed files with 46 additions and 7,884 deletions.
6 changes: 1 addition & 5 deletions examples/vanilla/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,11 @@ <h2>Media element examples</h2>

<h2>Example themes</h2>
<ul>
<li><a href="themes/tailwind-audio-theme/">Tailwind Audio Theme</a></li>
<li><a href="themes/tailwind-audio-theme.html">Tailwind Audio Theme</a></li>
<li><a href="themes/minimal-theme.html">Minimal Theme</a></li>
<li><a href="themes/microvideo-theme.html">Microvideo Theme</a></li>
<li><a href="themes/youtube-theme.html">Youtube Theme</a></li>
<li><a href="themes/netflix-theme.html">Netflix Theme</a></li>
<li><a href="themes/spotify-theme.html">Spotify Theme</a></li>
<li><a href="themes/responsive-theme.html">Responsive Theme</a></li>
<li><a href="themes/winamp-theme.html">Winamp Theme</a></li>
<li><a href="themes/demuxed-2021-theme.html">Demuxed 2021 Theme</a></li>
<li><a href="themes/demuxed-2022-theme.html">Demuxed 2022 Theme</a></li>
</ul>

Expand Down
654 changes: 0 additions & 654 deletions examples/vanilla/themes/demuxed-2021-theme.html

This file was deleted.

2 changes: 1 addition & 1 deletion examples/vanilla/themes/demuxed-2022-theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width" />
<title>Media Chrome Demuxed 2022 Theme Example</title>
<script type="module" src="../../../dist/index.js"></script>
<script type="module" src="../../../dist/themes/demuxed-2022.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@player.style/demuxed-2022/+esm"></script>
<script defer src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/castable-video@1/+esm"></script>
<link rel="stylesheet" href="https://use.typekit.net/dbt1sbf.css">
Expand Down
2 changes: 1 addition & 1 deletion examples/vanilla/themes/microvideo-theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Media Chrome - Microvideo Theme</title>

<script type="module" src="../../../dist/index.js"></script>
<script type="module" src="../../../dist/themes/microvideo.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@player.style/microvideo/+esm"></script>

<style>
body {
Expand Down
2 changes: 1 addition & 1 deletion examples/vanilla/themes/minimal-theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/>
<script type="module" src="https://cdn.jsdelivr.net/npm/@mux/mux-video"></script>
<script type="module" src="../../../dist/index.js"></script>
<script type="module" src="../../../dist/themes/minimal.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@player.style/minimal/+esm"></script>

<style>
html {
Expand Down
43 changes: 0 additions & 43 deletions examples/vanilla/themes/netflix-theme.html

This file was deleted.

74 changes: 0 additions & 74 deletions examples/vanilla/themes/responsive-theme.html

This file was deleted.

137 changes: 0 additions & 137 deletions examples/vanilla/themes/spotify-theme.html

This file was deleted.

18 changes: 18 additions & 0 deletions examples/vanilla/themes/tailwind-audio-theme.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html class="h-full">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Media Theme TailwindCSS Audio</title>
<script type="module" src="../../../../dist/index.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@player.style/tailwind-audio/+esm"></script>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="max-w-screen-md h-5/6 flex flex-col items-center justify-center p-5 mx-auto">

<media-theme-tailwind-audio class="inline-block w-full leading-none">
<audio slot="media" src="https://stream.mux.com/O4h5z00885HEucNNa1rV02wZapcGp01FXXoJd35AHmGX7g/audio.m4a"></audio>
</media-theme-tailwind-audio>

</body>
</html>
Loading

0 comments on commit 9f67ab7

Please sign in to comment.