Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1101562

    Hello,

    I want to mute one of the videos on my homepage. Can someone help me with how I can get this done? I have included a link to the homepage below.

    Thanks and much appreciated!

    #1102118

    Hey mlangereis,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1103413
    This reply has been marked as private.
    #1104628

    Hi,

    Thanks for the update.

    Add this script in the functions.php file to mute the video.

    add_action('wp_footer', 'ava_js_mute_video', 9999);
    function ava_js_mute_video() {
        ?>
        <script>
            // mute video
            var p13881_html5v = document.getElementById("player_13881_1810960791_1134860002_html5");
            p13881_html5v.muted= true;
        </script>
        <?php
    }

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.