Skip to content

tidal-music/embed-player

Repository files navigation

TIDAL Embed Player

Linting CSS Linting JS Web Test Runner Cypress

This repository contains the front-end and back-end source code for the TIDAL Embed Player. The back-end consists of an AWS Lambda function that server-side renders parts of the application. The front-end consists of logic for event handlers and playback logic (via tidal-sdk-web).

Building

Build the project by issuing the pnpm build command. Mind the environment variables below.

The build commands outputs to the dist folder where the front-end parts are outputted to the dist/client folder and the AWS Lambda code to the dist/server folder. Adjust the getStaticFileLink() method to where you deploy your front-end resources.

Environment Variables

Variable Name Description
EMBED_API_TOKEN Required - Your TIDAL API token
TRACK_JS_TOKEN Not required - Specify along with TRACK_JS_APPLICATION to include TrackJS
TRACK_JS_APPLICATION Not required - Specify along with TRACK_JS_TOKEN to include TrackJS

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published