Search code examples
wordpressgoogle-chromewistia

Wistia.com video is not getting closed after clicking on close button in chrome browser


Video popup close button is not working in chrome browser.

Given: When clicking “watch” on a page for a Wistia embedded video

When: You click the “X” to close the video modal window

Then: The video continues to play in the background even though it is no longer visible. Issue is comming chrome browser only.

This is likely true for all Wistia embedded videos that open in a modal window.

I want it should close the video completely after clicking on close button


Solution

  • Sounds like the element containing the video is not properly removed.

    Make sure to remove the embedded video directly and/or use a javascript trigger to pause it.