Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #182949

    Hi there,

    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.

    #183776

    Hi japk!

    Try adding the ‘autoplay’ attribute to the HTML5 player, can you paste the code you are using?

    Regards,
    Josue

    #183898

    sure! :
    [av_video src='http://firehouseironworks.com/wp-content/uploads/2013/10/atthefirehouse.mp4' format='16-9' width='16' height='9']

    #183985

    Hey!

    Open: /framework/php/function-set-avia-frontend.php

    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.'" >';

    Regards,
    Josue

    #184243

    Okay thanks that works. Thank you. Question: will all future videos I insert using the avia editor autoplay now?

    #184346

    Yes, they will.

    Regards,
    Josue

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

You must be logged in to reply to this topic.