Dear Customers! We're out of the office from the 6th of October to the 11th of October. We sincerely apologize for the inconvenience. For WordPress 5.5.* related issues, please visit this article

Okay
  Public Ticket #834699
Stop Video from Looping
Closed

Comments

  • Cole started the conversation

    Using the Hero Section element, is there a way not have the video loop? If not, would using another element allow the video to play just once while still having an automatic play option? Thank you.

  •  361
    Filip replied

    Hello there,

    Sure thing! Just edit the /wp-content/plugins/crexis-core/shortcodes/lib/hero-section.php file and change this part:

    startAt:0, opacity:1}"></div>';

    to:

    startAt:0, opacity:1, loop: false}"></div>';
    

    You can check other options that you can add right here:

    https://github.com/pupunzi/jquery.mb.YTPlayer/wiki#data-property

    Kind Regards,
    Veented Team