Changelog
Follow up on the latest improvements and updates.
RSS
new
v 2.1.0
Playback Speed Control
- Added variable playback speed functionality
- Users can now control audio playback speed with custom values
- New tmplayer-element="speed"attribute for displaying current speed
- New tmplayer-button="playback-speed"attribute for speed control buttons
- Speed values set via tmplayer-speed-valueattribute on buttons
- Supports arbitrary speed values (0.5x, 0.75x, 1x, 1.5x, 2x, 2.5x, etc.)
- Speed persists across song changes within the same player
- Automatic display formatting (e.g., "1x", "2x")
new
v 2.0.0
Removal of jQuery dependency
- Converted entire codebase from jQuery to vanilla JavaScript
- Maintained full backward compatibility with existing implementations
Media Session API Integration
- Added full support for OS-level media controls
- Integration with macOS, Windows, and mobile lock screen controls
- Support for hardware media keys (play, pause, next, previous)
- Display of song metadata (title, artist, album) in system UI
- Album artwork display in system media controls
- Support for seek forward/backward controls
- Automatic handling of multiple players on the same page
Browser Support
- All modern browsers supporting ES5
- Media Session API features require browsers with Media Session API support (Chrome 73+, Edge 79+, Safari 15+)
- Graceful fallback for browsers without Media Session API support
fixed
v 1.3.1
Fixed a bug where in certain cases, a song would continue playing even after a new song was clicked.
new
v 1.3.0
- Added new autoplay setting for turning that allows users to turn off the "go to next song when current song ends" functionality.
- Added a global event that can be used to catch when a song ends.
new
v 1.1.4
Adds 2 new functions that can be called outwardly by developers:
toggleStopActivePlayer
and togglePauseActivePlayer
Example usage
window.truePlayerManager.toggleStopActivePlayer()
window.truePlayerManager.togglePauseActivePlayer()
fixed
v 1.1.3
- Fixed bug related to the new reinitSongsfeature.
improved
v 1.1.2
Added a new
experimental
feature for reinitializing all the songs on the page. This can be used by developers in cases where the DOM is populated by AJAX and all the audio players need to be updated with the new content.Example usage
window.truePlayerManager.reinitSongs()
fixed
v 1.1.1
- Fixed a bug that would break the UI if the song ended while the user was in the middle of scrubbing.
new
v 1.1.0
- Added touch support to media scrubbing.
- Added outward-facing functions for pause, play, and toggle actions, allowing developers to tap into the audio player with their own code.
- Added touch support to volume slider.
- Fixed bug with trying to scrub audio before the metadata is available. We now always load the metadata for the first song in a list.
- Disables prefetch by default.
fixed
v 1.0.12
- Fixed a minor bug regarding support around different audio types.
Load More
→