Hi @mgalindo,
Thanks for reaching out.
You need to set the video loop
false as well as need to trigger the pause
event once the first time video is over. The following code may help you with this.
I would also recommend you hire a developer who can assist you to do the customization or you can avail of our newly launched service called One, where any customization questions are answered.
jQuery(document).ready(function($){
function no_bg_loop () {
$('video').prop('loop', false);
}
$(document).ready( no_bg_loop );
$(window).load ( no_bg_loop );
no_bg_loop();
setTimeout(function(){
jQuery('video.x-mejs.has-stack-styles').on('ended', function() {
jQuery(this)[0].pause();
});
},5000);
});
Remember that the above code will work if copied as it is and dont conflict with any existing style.
Please note that the code provided serve only as a guide to help you get started custom coding on your own if there’s no option offered in our theme or the products we bundle.
We do not provide support for custom codes that means we can’t fix it in case it conflicts with something in your site nor will we enhance it.
NOTE: We will post this as a feature
request so it might be taken into account in the future.
Hope it helps.
Thanks