Play audio on the site for all users, if one of them pressed the button, how?

  • 0
    Hello everyone.
    There is a one-page page on which 7 people will sit at the same time, and it is necessary that with each click on the button, everyone who has a sound on the site, how can this be done?
    JavaScript Anonymous, Jul 12, 2019

  • 1 Answers
  • 0
    ajax, websockets - notify other clients and start playback. for ajax, you will need something else on the backend (store the alert flag) for websockets no
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!