Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #534769

    So I’m trying to get my YouTube video to autoplay when I click the icon with the link:
    http://www.youtube.com/watch?v=Ft5aowg8hVM?rel=0&autoplay=1

    The video opens just fine in the Lightbox, but it doesn’t autoplay :(

    #535231

    Hi Gudi,

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.

    Regards,
    Rikard

    #535291

    Here you go, cheers

    • This reply was modified 9 years, 1 month ago by Gudi.
    #537775

    Hey!

    This isn’t a native feature of Enfold, you will need to enlist the aid of a freelancer to use autoplay via a nonembed Youtube link in an icon element.

    As a work around you could add “autoplay” in line 575 of your “function-set-avia-frontend.php” file to force a selfhosted video to autoplay from an icon element. However it will not load in a lightbox.

    $output .= '<video class="avia_video" '.$image.' controls id="'.$uid.'" >';
    
    $output .= '<video autoplay class="avia_video" '.$image.' controls id="'.$uid.'" >';
    

    Finally, there’s also the option of using a video light box plugin of your choice.

    Cheers!
    Dake

    #538211

    Hi Dake

    Thanks for the update.

    I haven’t had time the last week to work on the website, and now suddenly I’m having loads of issues. Images are missing, I can’t display DEBUG mode and I can upload images. And I haven’t changed a thing….. Could it be something you guys could have caused, if you have run some debug plugin or whatever?? Really confused on the matter, looked like a fool presenting the page today – half broken.

    #538218

    Hey!

    don’t think anyone of us did touch your settings. We usually do testings on our localhost installation. Hope you have a backup or maybe it helps if you just delete all theme files via FTP and get a fresh copy from your themeforest account afterwards.

    Regards,
    Andy

    #538629

    Hi Andy
    I’ve got a hold of the hosting company. I think the error might occure from the W3 Total Cace that’s running in the root directory (another wordpress installation). I’m seeing some funky stuff, but I’m back to being positive as I’ve got the data recovered.

    Will give you tip a go, when the site is running properly

    #538643

    Hey!

    Glad to hear you got the site back to a stable state.

    Please keep up posted if any new issue comes comes up.

    Cheers!
    Dake

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.