alpha
Login
or
Join now
tokono.ma
/
diffuse-applets
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Experiment to rebuild Diffuse using web applets.
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix: Audio engine loading state
author
Steven Vandevelde
date
1 year ago
(Mar 24, 2025, 3:02 PM +0100)
commit
2ffce82c
2ffce82c79c761a5c564f37ec83c523725f08d69
parent
5b880ae1
5b880ae14a8bc4dda722a8276d86130e6c065cf7
+1
-1
1 changed file
Expand all
Collapse all
Unified
Split
src
applets
engine
audio
applet.astro
+1
-1
src/applets/engine/audio/applet.astro
Reviewed
···
282
282
283
283
function initiateLoading(event: Event) {
284
284
const audio = event.target as HTMLAudioElement;
285
285
-
if (audio.readyState < 4) updateNowPlaying(audio.id, { loadingState: "loaded" });
285
285
+
if (audio.readyState < 4) updateNowPlaying(audio.id, { loadingState: "loading" });
286
286
}
287
287
288
288
function withActiveAudioNode(fn: (node: HTMLAudioElement) => void): void {