How to make videos stop playing when starting another on same page in wordpress
-
Hi
I have a website issue where I have a portfolio page with each portfolio containing embedded vimeo videos, using Ajax. The problem is that when you click on a portfolio and play a video, if you then select another video straight after, from another portfolio, and play it, the previous video continues playing, so that there are two or more videos playing at once. It’s like the video’s still there playing underneath, hidden out of view, so you can hear it, you just can’t see it:
https://www.robbiereddy.com/productions
I believe the fix has something to do with froogaloop but I’m not an expert coder by any means so am a little confused by it. Like where am I actually supposed to add this code in my website etc?
Thanks
R
- The topic ‘How to make videos stop playing when starting another on same page in wordpress’ is closed to new replies.