/wavlake-zbd-social-embed

Embeddable player for Wavlake music player content on ZBD app

Primary LanguageJavaScriptMIT LicenseMIT

Wavlake Player for the ZBD app

This is the repository that loads wav.zbd.gg and allows for iframe-ing of the player inside Social posts inside ZBD app.

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 and album pages.

Housekeeping

Run prettier before pushing commits:

npx prettier --write .