Hi guys, I want to program a live radio station widget with Corvid, I could simply use a html5 music player and place it in the URL provided from the streamer. But I was hoping to use the Wix music player when I set the src = ''; and I add the streamer URL it doesn't work. I think this player accepts only prerecorded songs on .mp3 format and some other formats.
Note: My streamer URL works fine on any html5 music player
My question is, is it possible to build this functionality somehow with Corvid?
Thanks!
I appreciate any response to it.
Thanks for your time, I'm aware on how to use the connection between html and Corvid. I appreciate your message.
If you wanted to pass data from a page to the html component and/or from a html component to a page, then simply use onMessage and postMessage.
https://www.wix.com/corvid/reference/$w.HtmlComponent.html
https://support.wix.com/en/article/corvid-working-with-the-html-element
Have a look at Wix Music own support pages for more info about using music in Wix as you can already use some third party companies.
https://support.wix.com/en/wix-audio/music-sound-audio-in-wix
Wix Music supports these file types too.
Wix Music: WAV, FLAC, M4A (Apple Lossless) & MP3. Click here to learn more.
You can vote for a radio stream here.
https://support.wix.com/en/article/request-radio-stream
For the API reference for Wix AudioPlayer see here.
https://www.wix.com/corvid/reference/$w.AudioPlayer.html
Any ideas on this? I think I'll try to send messages from Corvid to an HTML5 block of code and then with scripts use something like getElementById(); I appreciate any suggestions.