Now Playing Widget for Spotify
A sleek glassmorphism widget that displays your real-time Spotify listening activity via shortcode. Built with 1-Click OAuth2 authentication.
Choix solide
Now Playing Widget for Spotify is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 1 week ago, and scores 64/100 on our health check.
- Développé activement — Dernière mise à jour il y a 1 semaine
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (<10 installations actives)
- Très peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Now Playing Widget for Spot… stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| glassmorphism | #83 |
| music | >100 |
| now playing | #16 |
| Spotify | #62 |
| widget | >100 |
About Now Playing Widget for Spotify
À partir du Lisez-moi officiel · v1.1.0Description
Instead of relying on heavy third-party embeds or exposing Spotify API keys to visitors’ browsers (a critical security risk), this plugin provides a clean, native, and highly performant way to show your website visitors what you are currently listening to on Spotify.
The Now Playing Widget for Spotify was built strictly according to WordPress Coding Standards, optimal front-end performance, and frictionless UX. It presents a modern, floating Glassmorphism UI using the [npwfs_now_playing] shortcode.
Traits
- 1-Click OAuth2 Setup: Connect your Spotify account securely through the WordPress admin dashboard with a single button click. No terminal commands, curl scripts, or manual token handling required.
- CSRF-Protected Handshake: OAuth state parameters are validated using WordPress cryptographic nonces to protect your administration session.
- Zero Credential Exposure: Communication with the Spotify API occurs strictly server-to-server. Client Secrets and Refresh Tokens are stored safely in your database and are never delivered to visitor browsers.
- Intelligent Two-Tier Caching: Spotify access tokens are cached server-side until near expiration. Public track requests use WordPress Transients (30-second TTL by default) to keep page loads instant and stay safely within Spotify rate limits.
- Idle / Last Played State: When you are not playing music, the widget seamlessly displays the last track from your playback history with subtle visual styling.
- Battery & Network Friendly: The front-end polling pauses automatically when visitors switch to another browser tab using the HTML5 Page Visibility API.
- Accessible & Responsive: Fully responsive floating bar with reduced-motion support (
prefers-reduced-motion) and subtle animated equalizer bars. - Appearance Customizer & Live Preview: Customize accent color, glass backdrop, opacity, border shape (pill, rounded, square), floating screen position, and hover state effects with an interactive real-time preview in the admin panel.
- Spinning Vinyl Record Effect: Option to display the album artwork as a spinning vinyl record with realistic groove borders during active playback, or as a classic static album sleeve.
- Clean Uninstallation: Includes an
uninstall.phphandler to clean all stored options and transients from the database upon deletion.
Services externes
This plugin connects to external services provided by Spotify to authenticate the site owner and retrieve playback information:
- Spotify Accounts Service (https://accounts.spotify.com)
* Purpose: Handles the OAuth2 authorization code exchange and token refresh so the plugin can securely communicate with Spotify on the site owner’s behalf without storing passwords.
* Data sent and conditions: The site administrator’s Spotify API client credentials (Client ID and Client Secret), authorization code, and refresh token are transmitted server-to-server over HTTPS during initial setup and token refreshes. No website visitor data is ever sent to this service.
* Terms of service: Spotify Developer Terms and Spotify Terms of Use
* Privacy policy: Spotify Privacy Policy
- Spotify Web API (https://api.spotify.com/v1)
* Purpose: Fetches the site owner’s currently playing track (/v1/me/player/currently-playing) or recently played track history (/v1/me/player/recently-played).
* Data sent and conditions: An OAuth2 Bearer Access Token is sent in the HTTP Authorization header by your WordPress server when requesting listening activity. Requests are cached server-side using WordPress Transients (30-second TTL by default) to minimize calls. No user, visitor, or tracking data is ever collected or sent to Spotify.
* Terms of service: Spotify Developer Terms and Spotify Terms of Use
* Privacy policy: Spotify Privacy Policy
Installation
- Upload the plugin folder
now-playing-widget-for-spotifyto your/wp-content/plugins/directory, or install the.ziparchive via Plugins > Add New > Upload Plugin. - Activez le plugin via l'écran plugins dans WordPress.
- Navigate to Settings > Now Playing for Spotify in your dashboard.
- Follow the 3-Step Setup:
- Create a free developer application in the Spotify Developer Dashboard.
- Copy the exact Redirect URI provided on the settings page and save it in your Spotify App settings.
- Paste your Client ID and Client Secret, then click Save credentials.
- Click the green Connect with Spotify button. Accept the prompt on Spotify’s authorization screen.
- Place the shortcode
[npwfs_now_playing]anywhere on your site (posts, pages, block themes, Elementor, or footer widget areas).
(Note: The widget stays hidden until an account is connected and a track is found, keeping your site layout clean).
Journal de modifications
Upgrades security, caching efficiency, and WordPress.org compatibility. Existing credentials will be migrated automatically.
1.1.0
- Major refactor adhering to WordPress.org Plugin Coding Standards and Review Guidelines.
- Added Appearance & Live Preview customizer tab for colors, glass opacity, border shapes, screen positions, and hover effects.
- Added Spinning Vinyl Record animation effect with realistic groove styling and classic cover toggle.
- Documented external Spotify Accounts and Web API services in strict compliance with Guideline 6.
- Structured modular codebase: separated options, Spotify API client, REST API controller, shortcode and admin logic.
- Added CSRF state parameter validation via
wp_create_nonceduring OAuth2 flow. - Upgraded shortcode to properly prefixed
[npwfs_now_playing]with multi-instance DOM support. - Implemented access token transient caching to avoid redundant token grant requests on every poll.
- Added Page Visibility API support to pause front-end polling on inactive browser tabs.
- Added animated audio equalizer bars and
prefers-reduced-motionaccessibility support. - Added
uninstall.phpto completely clean up database options and transients on deletion. - Added automatic migration from legacy 1.0.0 option names (
tsw_*).
1.0.0
- Version initiale.
- 1-Click OAuth2 flow setup.
- Fallback to recently played history.
- Glassmorphism UI styling.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Now Playing Widget for Spotify alternatives
All glassmorphism plugins →FAQ
Now Playing Widget for Spotify: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Now Playing Widget for Spotify free?
Yes. Now Playing Widget for Spotify is free to download and use from the official WordPress.org plugin directory.
Is Now Playing Widget for Spotify safe to use in 2026?
Now Playing Widget for Spotify is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 1 week ago, and scores 64/100 on our health check.
How many websites use Now Playing Widget for Spotify?
Now Playing Widget for Spotify is active on <10 WordPress websites and has been downloaded 108 times since it launched in November 2026. It was downloaded 118 times in the last 30 days.
Does Now Playing Widget for Spotify work with WordPress 7.1?
Yes. The developer has tested Now Playing Widget for Spotify up to WordPress 7.2, the latest release. It requires WordPress 5.8 or newer.
What PHP version does Now Playing Widget for Spotify need?
Now Playing Widget for Spotify requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Now Playing Widget for Spotify last updated?
The latest version, 1.1.0, was released on November 26, 2026 (1 week ago).
Who makes Now Playing Widget for Spotify?
Now Playing Widget for Spotify is developed and maintained by tuliocareli.
What are the best alternatives to Now Playing Widget for Spotify?
The most popular alternatives to Now Playing Widget for Spotify are WN Elementor Glassy Columns (900+ installs), Silica (100+ installs) and Altonet Fluid Glassmorphism (10+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit


![The Spotify Connection settings tab showing the 3-step OAuth2 setup, connection status, and the [npwfs_now_playing] shortcode.](https://ps.w.org/now-playing-widget-for-spotify/assets/screenshot-2.png?rev=3821423)
