wordpress button turns off video for all users realtime

Job ID: 30767937

Budget: €100 – €150 EUR

We have made a simple video explaining the behavior we want to achieve to be clear for teh chousen developer.

User A at the front of his page (wordpress site), sees a button, when he presses it a video is replaced by an image. (This is already done) The next thing we have to do is make that happen for all users connected to that page. Thus, if user B is watching the video, he will see an image.
Related categories: PHP JavaScript WordPress HTML jQuery