![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
-
AuthorPosts
-
February 10, 2021 at 11:06 pm #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.
February 11, 2021 at 5:45 pm #1279817I 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’
February 12, 2021 at 1:28 pm #1280009Hi,
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, 6 months ago by
Rikard.
February 12, 2021 at 1:34 pm #1280012Thank you Rikard, look forward to a resolve.
February 12, 2021 at 9:05 pm #1280181Ok, let’s hope they get it fixed soon. Thanks
February 14, 2021 at 12:17 am #1280339Yeah.. same here on multiple different sites and servers..
February 15, 2021 at 4:26 pm #1280574Hi!
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,
IsmaelFebruary 15, 2021 at 4:36 pm #1280577Perfect, thank you Ismael,
That’s done the trick.
Will this be a full fix in the next update so require removal from functions.php?February 15, 2021 at 4:58 pm #1280584Hi, where exactly do I have to copy this?
February 15, 2021 at 5:49 pm #1280600Hi @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
February 16, 2021 at 5:50 am #1280703Hi,
Thanks for helping out @steve :-)
Let us know if you need any further help @acardell887.
Best regards,
RikardFebruary 17, 2021 at 7:24 pm #1281868This reply has been marked as private.February 19, 2021 at 1:36 pm #1282213Hi MyGirlFriday805,
I’ve added the code for you, please review your site.
Best regards,
RikardFebruary 27, 2021 at 3:26 am #1284033This solution worked for me on a few different websites, thanks!
February 28, 2021 at 4:05 pm #1284230Hi knwtech,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
VictoriaMarch 2, 2021 at 12:48 pm #1284710Work fine for us too.
ThanksMarch 2, 2021 at 2:31 pm #1284754Hi,
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,
IsmaelMarch 2, 2021 at 2:31 pm #1284756Hi,
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,
IsmaelMarch 2, 2021 at 11:19 pm #1284889Hello 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.March 10, 2021 at 10:32 pm #1287262Hi spat154,
You need to add this code in the child theme functions.php.
Here are the docs for you:
Best regards,
VictoriaMarch 10, 2021 at 10:36 pm #1287264You 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 👍
March 12, 2021 at 4:02 pm #1287737Hi Steve,
Thanks for sharing :)
Best regards,
VictoriaMarch 12, 2021 at 11:01 pm #1287891Thank you Steve and Victoria
March 15, 2021 at 8:46 am #1288216Hi spat154,
We’re happy to hear that :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
This reply was modified 3 years, 6 months ago by
-
AuthorPosts
- The topic ‘Video in Color Section is not repeating’ is closed to new replies.