
Simple Radio Forty Two is a small radio player for WordPress, inspired by Radio 42. It is written in vanilla JavaScript (no jQuery). You configure stations once, then drop the player on any page with [sr42_radio] or the Simple Radio Forty Two block.
What it does
/wp-json/sr42/v1/meta.localStorage. If you navigate to another page that also contains the player, it tries to resume playback. See the FAQ: browsers often block that autoplay.This plugin does not keep audio playing across a full page load by itself (no background Service Worker). Media Session controls work while the tab that started playback stays open, including with the phone locked.
[sr42_radio]There is no separate classic widget. On a classic widget screen you can put the shortcode in a Shortcode or Custom HTML widget.
Simple Radio Forty Two is licensed under the GPLv2 or later. See LICENSE.txt for details.
Thanks to the WordPress community and the Radio 42 developers for the inspiration.