Skip to content

Version 1.0

Latest

Choose a tag to compare

@kaheichanturtle kaheichanturtle released this 17 Feb 23:05
· 3 commits to main since this release
2567c5c

Version 1.0

  • Playing a silent MP3 in a loop to keep the audio session "alive" and the media controls visible.
  • Preloading an alarm sound (initially set to a silent track) so that the audio element is already active.
  • Swapping the silent audio with an actual alarm sound when the timer finishes, allowing the alarm to play without being blocked.

Features

  • Cross-Platform Compatibility: Works on iOS (Safari), Android, and desktop browsers.
  • Background Playback: Keeps the media/music bar active even if the browser is in the background.
  • Seamless Audio Transition: Uses a smart audio swap technique to play the alarm without user interaction at timer end.
  • User Controls: Easily start, pause, and reset the timer.