1. Home
  2. Knowledge Base
  3. Modula Extensions Explained
  4. Modula Video – how to loop videos

Modula Video – how to loop videos

How to loop self-hosted videos

To loop self-hosted videos you will need to add the code below in your theme’s functions.php file:

$(document).bind('DOMSubtreeModified', function () {
if( $("video").prop('muted') ){
$("video").prop('muted', false);

We recommend to use a child theme before making changes to the theme’s files though. You can see here how to create a WordPress child theme: https://www.wpbeginner.com/wp-themes/how-to-create-a-wordpress-child-theme-video/

Was this article helpful?

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *