Simple Radio Forty Two

Àpèjúwe

Simple Radio Forty Two is a minimalist yet powerful radio player plugin for WordPress, inspired by the Spirit of 42. Built with Vanilla JavaScript, it ensures zero dependencies and lightning-fast loading times.

The player features a unique “Smart Buffer” system that synchronizes with your page load, a “Persistence Engine” that remembers your last selected station after a refresh (F5), and a Click Lock mechanism to prevent interface spamming, providing a seamless listening experience.

Configuration

  1. After activation, go to Settings > Simple Radio Forty Two to configure your radio player.
  2. Multi-Station Support: Add, remove, or reorder your favorite Icecast, SomaFM, or Radio Paradise streams.
  3. One-Click Copy: Easily copy the [sr42_radio] shortcode from the dashboard using the integrated clipboard tool.
  4. Customize the style via the provided CSS file or by adding rules in your theme.

Usage

  • Add the radio player to your content with the [sr42_radio] shortcode.

License

Simple Radio Forty Two is licensed under the GPLv2 or later. See LICENSE.txt for details.

Acknowledgments

Thanks to the WordPress community and the Radio 42 developers for the inspiration.

Àwọn àwòrán ìbòjú

Ìgbéwọlẹ̀

  1. Download the Simple Radio Forty Two ZIP file.
  2. Log in to your WordPress Dashboard.
  3. Go to Plugins > Add New and click Upload Plugin.
  4. Choose the ZIP file and click Install Now.
  5. Activate the plugin.

FAQ

Why is there a “Please Wait” message at startup?

This is the Smart Buffer. It locks the interface for 5 seconds to allow the browser to properly cache the initial audio stream for a glitch-free experience.

Does it remember my station after a page refresh?

Yes. Starting from version 1.3.1, the player uses localStorage to keep your selection active even if you reload the page.

Does it support mobile devices?

Yes. The player is fully responsive and optimized for touch controls.

Àwọn àgbéyẹ̀wò

Ka gbogbo àgbéyẹ̀wò 1

Àwọn Olùkópa & Olùgbéejáde

“Simple Radio Forty Two” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “Simple Radio Forty Two” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.3.1

  • Fix: Corrected the Shortcode copy tool to support modern Clipboard API and added UI feedback.
  • Fix: Implemented station persistence (F5) via localStorage.
  • Fix: Added default “fallback” stations if the database is empty (Radio 42, SomaFM, Radio Paradise).
  • Fix: Resolved a regression where the selected station was reset on initial load.

1.3.0

  • Way cleaner UI and overall performance optimization.
  • Final stable release for WordPress 6.9.
  • Integrated Icecast/SomaFM metadata (Artist/Title) via AJAX.
  • Added “Laser Glow” visual effect on the volume slider.
  • Synchronized initial buffer with page load cycle.

1.2.3

  • Switched to pure Vanilla JS (jQuery-free).
  • Added 4 predefined radio stations.
  • Added Click Lock mechanism to prevent UI spamming.

1.2.2

  • Fixed shortcode detection bug.
  • Updated compatibility for WordPress 6.7.

1.0

  • First stable version.
  • Added basic radio player and customization options.