Embedded player might be broken with passed base-url
The following discussion from !2489 (merged) should be addressed:
-
@georgkrause started a discussion: (+1 comment) @wvffle I get the following:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data embed.html:169:17 <anonymous> http://localhost:8080/embed.html?&type=track&id=120&b=https://demo.funkwhale.audio/:169 (Async: promise callback) <anonymous> http://localhost:8080/embed.html?&type=track&id=120&b=https://demo.funkwhale.audio/:168
There might be a //
in the URL
- works:
http://localhost:8080/embed.html?&type=track&id=120&b=https://demo.funkwhale.audio
- doesn't:
http://localhost:8080/embed.html?&type=track&id=120&b=https://demo.funkwhale.audio/