Stop video when changing tab

Burawi created the topic: Stop video when changing tab

Hello Everybody,
I want to make some changes on the code to make the video stopping when the tab is not active. I know that this is the JS code that helps to detect if the tab has been changed:

$(window).focus(function() {
    //do something
});

$(window).blur(function() {
    //do something
});

But I don't know how to control the video

#13573

Please Log in or Create an account to join the conversation.


Support replied the topic: Stop video when changing tab

Dear customer,

Can you please give us a link to your video player page and tell us what you want more detailed ?


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#13585

Please Log in or Create an account to join the conversation.


Burawi replied the topic: Stop video when changing tab

Sorry, I can't give a link because i'm using it in localhost.
I'm using the Spider Video Player Plugin for Wordpress. I want the video to stop playing when the user change the tab in browser

#13598

Please Log in or Create an account to join the conversation.


Support replied the topic: Stop video when changing tab

Dear customer,

Unfortunately WordPress Spider video player doesn't have such functionality.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#13600

Please Log in or Create an account to join the conversation.


Time to create page: 0.129 seconds
Powered by Kunena Forum

WORLD-CLASS SUPPORT

We are here for you every step of the way. Turn to our support with any questions you might have about our products and services. Our experienced customer care team is available to help you as fast as we possibly can.

Contact us