Answer the question
In order to leave comments, you need to log in
How to listen in the browser to a file that is given by a foreign server for download?
Good time of the day, such a dilemma, there is a link of the form:
http://vkdlmsk2.vkmusic.me/aHR0cHM6Ly9jczEtODJ2NC52ay1jZG4ubmV0L3A5LzkzOGEwNzkyY2YwMmQyLm1wMz9leHRyYT1HZkRVTXJTSF92R1NFX2p1d0ppMzFVX1dLWWtfeHloX3Y5UDRZMmRXNzJxXzJaV0JsZ3paZVhVbnRWMzNINnZ5a0kzakhoN3Z0Qk5jNnE4M1J2d1BSbWNBdzBOdERXS1hYbEFqQ2twZmNfUjhnRjQ1WG9rekVVWk5IVWdGMWgwd29oa1pXdjF0NG9FaEVXNEYmdGl0bGU9Sm9qaSstK0JpdHRlcitGdWNrJmlkPTM3MTc0NTQ2MV80NTY0NTExMjI=
Answer the question
In order to leave comments, you need to log in
My file according to your link plays normally in chrome / ff - https://codepen.io/anon/pen/qxNQRx
Well, in general, the server gives a header there, which should force the browser to download the file.
Content-Disposition: attachment; filename="Joji - Bitter Fuck.mp3"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question