tutaru99 / Internet-Radio-Player-Vue

Internet Radio Player with an Audio Visualizer made using VueJS, Vuetify & Howler.JS frameworks. The Player has a bunch of radio stations. Check out the demo below.
https://tutaru99.github.io/Internet-Radio-Player-Vue
12 stars 4 forks source link

CORS protected streams #4

Open hyperion4 opened 1 day ago

hyperion4 commented 1 day ago

Thank you for this great radio player. It works in all streams I've tried but it fails in streams with CORS protection. Some icecast generated streams have CORS protection, is there any way to bypass it in radio player? A stream example, it is http not https, http is not an issue in radio player, it doesn't play because of CORS. http://mediaserver.mad.tv/stream I've found a radio player that manages to play it with its player, so somehow by modifying the headers it is possible to play it from an external radio player. This is the radio player I am talking about https://radiomii.com/ You can test the stream directly from the following link, it is CORS protected and RadioMii can play it (allow Insecure content to the site to bypass the http issue). https://radiomii.com/?id=964607f7-0601-11e8-ae97-52543be04c81 Is there any way to play CORS protected streams in Internet-Radio-Player-Vue?

joeyboli commented 1 day ago

Not a cors issues looks like the stream url's SSL cert has expired.

hyperion4 commented 1 day ago

Not a cors issues looks like the stream url's SSL cert has expired.

Thank you for your reply. It is a CORS issue, this is what dev tools respond when I try to play it in the player. Also have a look at the following streams, they are https streams, no SSL cert issue on them. They don't play because of CORS protection. https://radio.streamings.gr/proxy/epikoinwnia94fm?mp=/stream https://radio.streamings.gr/proxy/beradio?mp=/be.aac