Facing error when generate an Embed code towards Flac track with 1.3.0
Steps to reproduce
1. I‘ve deployed a funkwhale website with docker and nginx correctly: fun.wyy.sh
2. Visit an audio content page that is a Flac files:Flac files page
3. Choose to generate embed code and there is an error prompt called "An unknown error occurred while loading this track. " existed in the preview area.
What happens?
In the firefox panel the specific error is:
[](*TypeError: URL constructor: /api/v1/listen/982b342d-b058-48e2-a538-ffbe9d605ca2/?upload=ff608887-d6f4-4b93-93ce-dde95a3cb222 is not a valid URL.
getAudioSources https://fun.wyy.sh/embed.html?&type=track&id=1:76
fetchTracks https://fun.wyy.sh/embed.html?&type=track&id=1:157
fetchTracks https://fun.wyy.sh/embed.html?&type=track&id=1:151
async https://fun.wyy.sh/embed.html?&type=track&id=1:168
What is expected?
1. Visit an audio content page that is a MP3 files: MP3 files page
2. Choose to generate embed code and it just works as expected. Music in Flac format should have been functioning normally in the same method.
-
I'd like to know whether it's a bug or it's just can't function normally when generate an embed code from Flac music files. Thanks very much!
Context
Funkwhale version(s) affected: 1.3.0
Browser type and version: Both in the latest version of Firefox and Chrome
Instance configuration:Deployed by Docker Container