Skip to content

path from directory #16

Answered by cifkao
omkarprissoft asked this question in Q&A
Discussion options

You must be logged in to vote

The player unfortunately cannot play local files, they have to be loaded from a server. This is because JavaScript cannot access local files in modern browsers.

For local development, you need to use an HTTP server, e.g. http-server or live-server from NPM. Or you can upload your file somewhere.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cifkao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #15 on April 06, 2021 08:24.