Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #1279617

    Hi,

    I put a color Section as a header and selected a Video-Background from YouTube. Video ist running by starting the site put unfortunately it is not repeating after the first run.

    I already put a color section in another project and it worked well.

    Can you tell me what is wrong here?

    See Infos in privat attached.

    #1279817

    I am seeing this behaviour on any Enfold sites I’ve used a video background on too.

    The YouTube video plays once then instead of repeating it says ‘Video unavailable’

    #1280009

    Hi,

    Sorry for the problem. We have reproduced this problem, and it has been reported to our developers. We don’t have a solution to offer you at this moment, but please reply to this thread once you have read it, so it gets added back to our support queue. We will post any suggestions or solutions here, when we have them.

    Best regards,
    Rikard

    • This reply was modified 3 years, 10 months ago by Rikard.
    #1280012

    Thank you Rikard, look forward to a resolve.

    #1280181

    Ok, let’s hope they get it fixed soon. Thanks

    #1280339

    Yeah.. same here on multiple different sites and servers..

    #1280574

    Hi!

    Thank you for the update.

    We added the following filter in the functions.php file to disable the playlist parameter and allow the video to loop.

    add_filter("avf_youtube_video_data", function($data) {
    	unset($data["playlist"]);
    	return $data;
    }, 10, 1);

    Best regards,
    Ismael

    #1280577

    Perfect, thank you Ismael,
    That’s done the trick.
    Will this be a full fix in the next update so require removal from functions.php?

    #1280584

    Hi, where exactly do I have to copy this?

    #1280600

    Hi @Acardell887

    If you’re using a child theme you will need to paste this into your child theme’s functions.php file located at /wp-content/themes/CHILD_THEME_NAME/functions.php

    If you’re not using a child theme then it will need to go into the main Enfold functions.php file at /wp-content/themes/enfold/functions.php

    #1280703

    Hi,

    Thanks for helping out @steve :-)

    Let us know if you need any further help @acardell887.

    Best regards,
    Rikard

    #1281868
    This reply has been marked as private.
    #1282213

    Hi MyGirlFriday805,

    I’ve added the code for you, please review your site.

    Best regards,
    Rikard

    #1284033

    This solution worked for me on a few different websites, thanks!

    #1284230

    Hi knwtech,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1284710

    Work fine for us too.
    Thanks

    #1284754

    Hi,

    Glad it is working. For further inquiries, please feel free to create another thread. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    #1284756

    Hi,

    Glad it is working. For further inquiries, please feel free to create another thread. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    #1284889

    Hello Ismael

    add_filter(“avf_youtube_video_data”, function($data) {
    unset($data[“playlist”]);
    return $data;
    }, 10, 1);

    I am not tech person, I went Enfold functions.php but not not sure where to add above code in functions.php?
    Please help.

    #1287262

    Hi spat154,

    You need to add this code in the child theme functions.php.

    Here are the docs for you:

    Best regards,
    Victoria

    #1287264

    @Spat154

    You don’t need this code at all if you just update your version of Enfold to the latest release (4.8.1) – it’s fixed 👍

    #1287737

    Hi Steve,

    Thanks for sharing :)

    Best regards,
    Victoria

    #1287891

    Thank you Steve and Victoria

    #1288216

    Hi spat154,

    We’re happy to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 24 posts - 1 through 24 (of 24 total)
  • The topic ‘Video in Color Section is not repeating’ is closed to new replies.