My client would like to autoplay a video that I have inserted using the avia layout builder video content feature. Is there a simple way to enable autoplay? The video is self hosted.
Try adding the ‘autoplay’ attribute to the HTML5 player, can you paste the code you are using?
[av_video src='http://firehouseironworks.com/wp-content/uploads/2013/10/atthefirehouse.mp4' format='16-9' width='16' height='9']
Look for line 510:
$output .= '<video class="avia_video" '.$image.' controls id="'.$uid.'" >';
Replace it with
$output .= '<video autoplay class="avia_video" '.$image.' controls id="'.$uid.'" >';
Okay thanks that works. Thank you. Question: will all future videos I insert using the avia editor autoplay now?
The topic ‘autoplay self hosted videos’ is closed to new replies.