Home Forums Themes Support Formota Autoplay award list

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4393
    Exactaprint
    Supported

    Hi,

    I am using your theme for a small site. My customer is asking for the awards section to autoplay. Could you point me in the correct direction to change this, please?

    Many thanks,
    Linsey

    #4394

    Hi,
    Thanks for contacting us and choosing our product!
    Please follow this topic tutorial to customize player: https://harutheme.com/forums/topic/how-to-customize-video-player-in-haru-video-theme/
    However if you want to autoplay video on load you can custom JS in:
    wp-content/themes/formota/assets/js then open file haru-formota.js
    Go go function shortcodeVideoModal on line 688 and add this code:
    $('.single-video .view-video-button').trigger('click');
    https://prnt.sc/pvwb25
    Hope this help!

    ****
    Regards,
    HaruTheme

    #4395
    Exactaprint
    Supported

    Hello,

    It isn’t the video I want to autoplay, it is the awards further down on the page that are displayed as a carousel, is there a way to set this to autoplay rather than having to scroll through manually?

    Thanks,
    Linsey

    #4396

    Hi,
    You can do it via child theme follow this topic:

    How to customize WordPress theme using Child theme


    In this case the template to customize is:
    wp-content/themes/formota/templates/single/video-style_2.php
    Go to line 167 you need change the code from:
    data-autoplay="false"
    to
    data-autoplay="true"
    https://prnt.sc/pvx2x6
    Now we’ll change direct for you on parent theme for test:
    https://prnt.sc/pvx4hh
    You also can change speed here!
    Hope this help!
    If you like our product please vote 5* for us to help us update our product in future.
    Thanks so much!

    ****
    Regards,
    HaruTheme

    #4397
    Exactaprint
    Supported

    Fantastic, thank you so much.

    #4398

    Thanks for your feedback!
    Please vote 5* for us to help us update our product in future.
    Thanks so much!

    ****
    Best regards,
    HaruTheme

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.