Mask or hide url from a stream


I need to mask the external URLs that point to some songs and that the user can reproduce them from the browser. Being URL's outside the server I can not put them (As far as I know) as friendly

Now there's something like this:

<audio controls="controls">
  <source src="http://X.X.X.X/music/12345pd?so=/stream" type="audio/ogg" />

And if the user looked at the source code in the browser, he should not see the URL, or in any case, he would have to see something like this:

<audio controls="controls">
  <source src="http://myweb/Rock" type="audio/ogg" />

I do not care if the solution is jquery, javascript ... or put another method of reproduction.

asked by JoseDEV 15.11.2018 в 17:24

0 answers