I miss the <bgsound> HTML tag :necoarc_pensive:
Conversation
Notices
-
Embed this notice
ThatOneCalculator :calcdumpy: :calckey: (thatonecalculator@stop.voring.me)'s status on Thursday, 03-Nov-2022 03:29:44 JST ThatOneCalculator :calcdumpy: :calckey: -
Embed this notice
ThatOneCalculator :calcdumpy: :calckey: (thatonecalculator@stop.voring.me)'s status on Thursday, 03-Nov-2022 03:37:51 JST ThatOneCalculator :calcdumpy: :calckey: @me@soc.jae.fi modern browsers require interactivity for an <audio> element to play, so I make an invisible audio element and do this:
window.addEventListener("DOMContentLoaded", event => { const audio = document.querySelector("audio"); audio.volume = 1.0; document.getElementById("main").addEventListener("click", () => { audio.setAttribute("src", "music.mp3"); audio.paused ? audio.play() : audio.pause(); }); audio.play(); }); -
Embed this notice
Jae (me@soc.jae.fi)'s status on Thursday, 03-Nov-2022 03:37:54 JST Jae @thatonecalculator@stop.voring.me any replacements?
-
Embed this notice
ThatOneCalculator :calcdumpy: :calckey: (thatonecalculator@stop.voring.me)'s status on Thursday, 03-Nov-2022 03:39:17 JST ThatOneCalculator :calcdumpy: :calckey: @freeplay@misskey.ai
RE: https://stop.voring.me/notes/973jpsg2ae -
Embed this notice
Freeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee :blobfoxbox: (freeplay@misskey.ai)'s status on Thursday, 03-Nov-2022 03:39:18 JST Freeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee :blobfoxbox: @thatonecalculator@stop.voring.me What about using <audio> with the autoplay tag and hiding it with CSS (I'm assuming that works ?)
In conversation permalink
-
Embed this notice