wavlake / embed

Embeddable player for content on wavlake.com

Home Page:https://embed.wavlake.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

First, install packages:

npm install

Run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3003 with your browser to see the result.

Usage

The Embed player serves content with the same URL paths as Player. For example, if a track's URL on Player is https://<player-domain>/track/b1fddd49-a3b3-4cfa-af69-fab60f92724c then the Embed version will be https://<embed-domain>/track/b1fddd49-a3b3-4cfa-af69-fab60f92724c. The same logic applies for artist, album, and profile pages.

Gotchas

In Vercel, the Preview environment will break for any pages that have never been requested in Production. This is because of the way it treats getStaticPaths in Preview mode.

Housekeeping

Run prettier before pushing commits:

npx prettier --write .

About

Embeddable player for content on wavlake.com

https://embed.wavlake.com

License:MIT License


Languages

Language:JavaScript 95.6%Language:CSS 4.4%