Skip to content

Commit

Permalink
mux player
Browse files Browse the repository at this point in the history
  • Loading branch information
wesbos committed Oct 25, 2024
0 parents commit a1881fb
Show file tree
Hide file tree
Showing 16 changed files with 995 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Node modules
node_modules/
*.mp4
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Build output
dist/
build/

# Dependency directories
jspm_packages/

# IDE specific files
.vscode/
.idea/

# Miscellaneous
.DS_Store
Thumbs.db
Binary file added images/Syntax Cover Art.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/applepodcasts-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/bluesky-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/instagram-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/rss-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/spotify-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/tiktok-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/x-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/youtube-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/youtubeshorts-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Syntax Shorts!</title>
<link rel="stylesheet" href="./style.css" />
<script src="https://cdn.jsdelivr.net/npm/@mux/mux-player"></script>
<script type="module" src="./shorts.ts"></script>
</head>
<body>
<div class="layout">
<div class="video">
<!-- <video
src="./48 Minutes of Clips.mp4"
playsinline
controls
muted
autoplay
loop
></video> -->

<mux-player
playback-id="x7Hh3ees2Sh8DamED5hYj2jcPNXWppcR"
metadata-video-title="Placeholder (optional)"
metadata-viewer-user-id="Placeholder (optional)"
accent-color="#f5ba41"
autoplay
muted
loop
playsinline
></mux-player>
</div>
<div class="details">
<div class="cover-art">
<img src="./images/Syntax Cover Art.png" alt="Syntax" />
</div>
<div class="socials">
<img src="./images/youtube-color.svg" alt="YouTube" />
<img src="./images/spotify-color.svg" alt="Spotify" />
<img src="./images/applepodcasts-color.svg" alt="Apple Podcasts" />
<img src="./images/x-color.svg" alt="X" />
<img src="./images/tiktok-color.svg" alt="TikTok" />
<img src="./images/instagram-color.svg" alt="Instagram" />
<img src="./images/youtubeshorts-color.svg" alt="YouTube Shorts" />
<img src="./images/rss-color.svg" alt="RSS" />
</div>
</div>
</div>
</body>
</html>
Loading

0 comments on commit a1881fb

Please sign in to comment.