Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some routes to list themes/players in JSON format #43

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mmcc
Copy link

@mmcc mmcc commented Jul 5, 2024

I was hacking around on some stuff over the holiday and found myself wanting to be able to programmatically retrieve available themes. This just exposes the themes and players content collections as a route directly.

Also added hls.js as a dependency because otherwise the entire project was blowing up.

Copy link

vercel bot commented Jul 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
player-style ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 5, 2024 11:11pm

@@ -34,6 +34,7 @@
"@player.style/microvideo": "0.0.5",
"@player.style/minimal": "0.0.5",
"@player.style/yt": "0.0.5",
"hls.js": "^1.5.13",
Copy link
Contributor

@luwes luwes Jul 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(blocking) this shouldn't be needed, did you run npm install in the root of this monorepo?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure? I don't think I ever did anything outside of the root of the monorepo, but I'll try a clean install this afternoon and see if I can reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants