Replaces words with emoji. Formatting enhancements for play/pause buttons. Switched to lower fidelity audio stream for better performance.
This commit is contained in:
+4
-4
@@ -48,11 +48,11 @@ export default function HomePage() {
|
||||
</p>
|
||||
|
||||
<div className="controls">
|
||||
<button type="button" onClick={() => void player.play(backgroundMode)} disabled={isPlaying}>
|
||||
Play
|
||||
<button type="button" className='playpause' onClick={() => void player.play(backgroundMode)} disabled={isPlaying}>
|
||||
▶️
|
||||
</button>
|
||||
<button type="button" onClick={() => player.stop()} disabled={!isPlaying}>
|
||||
Stop
|
||||
<button type="button" className='playpause' onClick={() => player.stop()} disabled={!isPlaying}>
|
||||
⏹️
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user