Viewing 4 reply threads
You must be logged in to reply to this topic.
Is it possible to not start playing the video until the page scrolls to that element being seen?
Is it possible to loop the video so it keeps playing?
Hello,
Customizing video to autoplay only when the section is in focus or keep it streaming requires code editing that is beyond our support scope. I suggest you hire a developer to do these changes for you.
Best regards!
It is possible to not autoplay the video? Not have it play when someone reaches a certain part of the screen, but have it not play until the user clicks the play button?
Hello,
Please go to file vc_templates/services_media.php and find these lines:
if(!empty($self_hosted_mp4)){
$output .= '<video autoplay controls> <source src="'.trim($self_hosted_mp4).'" type="video/mp4"></video>';
}
Remove the “autoplay” from it and save.
Let us know.
Best regards!
You must be logged in to reply to this topic.