Mehrere PHP / JS Audio-Player, Stop Player wenn anderer Player abspielt
bearbeitet von
@@Gunnar Bittersmann
> > Die älteren DOM-Methoden liefern keine NodeList, sondern eine HTMLCollection.
>
> Irrelevant. Von älteren DOM-Methoden war hier nie die Rede. Sowohl bei @Hörnchen als auch bei mir war es `querySelectorAll()`
Ah, bei @klawischnigg aber nicht. Da war’s `getElementsByTagName()`. Das fällt dann mit unter „kein guter Stil“
🖖 Live long and prosper
{:@en}
--
*“In my home, the America I love, the America I've written about, that has been a beacon of hope and liberty for 250 years, is currently in the hands of a corrupt, incompetent and treasonous administration. Tonight, we ask all who believe in democracy and the best of our American spirit, to rise with us, raise your voices against authoritarianism, and let freedom reign.”*{:@en}
— Bruce Springsteen, Manchester 2025-05-14
Mehrere PHP / JS Audio-Player, Stop Player wenn anderer Player abspielt
bearbeitet von
@@Gunnar Bittersmann
> > Die älteren DOM-Methoden liefern keine NodeList, sondern eine HTMLCollection.
>
> Irrelevant. Von älteren DOM-Methoden war hier nie die Rede. Sowohl bei @Hörnchen als auch bei mir war es `querySelectorAll()`
Ah, bei @klawischnigg aber nicht. Das war’s `getElementsByTagName()`. Das fällt dann mit unter „kein guter Stil“
🖖 Live long and prosper
{:@en}
--
*“In my home, the America I love, the America I've written about, that has been a beacon of hope and liberty for 250 years, is currently in the hands of a corrupt, incompetent and treasonous administration. Tonight, we ask all who believe in democracy and the best of our American spirit, to rise with us, raise your voices against authoritarianism, and let freedom reign.”*{:@en}
— Bruce Springsteen, Manchester 2025-05-14