What is this?
u-radio is a youtube-powered internet radio for your personal website. everyone checking your page will be playing the same video at the same time.
How does it work?
How can I add it to my own page?
to add u-radio to your webpage, you need to include three things:
player.jsfile hosted here
database.jscontaining the schedule, which can be created here
- the youtube iframe
the two scripts can be included by adding:
whereas the iframe can be included by:
<iframe id="uradio-iframe-yt" width="480" height="270" src="https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1&enablejsapi=1&controls=0" frameborder="0" controls=0 allow="autoplay"></iframe>
note that the iframe contains customizable parameters, such as width and height.
It isn't working!
feel free to contact me with problems and suggestions! you can post on my neocities profile or send me an email:
hope you like it, have a good one!