-
AuthorPosts
-
February 12, 2021 at 4:01 pm #1280079
In all my colour sections with YouTube video back grounds they started stopping at the end of the video and saying. “Video unavailable, this video is unavailable”
All plugins are up to date and I’ve tried turning them all off. Enfold is fully up to date and WordPress.
The YouTube video plays once so that’s fine and it’s not in a playlist and has no other videos set to play after it.
They where working fine for years but around the same time of updating WordPress and the enfold theme they have stopped looping. Unless that’s a coincidence and you guys have a fix please? Many thanks
-
This topic was modified 4 years, 9 months ago by
mmsdev.
February 14, 2021 at 1:17 pm #1280409Hey mmsdev,
We are aware of the problem, but we don’t have a solution at the moment. We’ll post any solutions or suggestions here, once we have them.
Best regards,
RikardFebruary 15, 2021 at 2:11 pm #1280535Ok thanks.
Do you have a time scale on the fix?
February 15, 2021 at 4:39 pm #1280579Hi!
Thank you for the update.
We might have found the issue with the Youtube player. To fix it, please try this filter in the functions.php file to adjust the Youtube player and disable the playlist parameter, which might be preventing the video from looping.
add_filter("avf_youtube_video_data", function($data) { unset($data["playlist"]); return $data; }, 10, 1);We will provide the actual fix in the next patch.
Cheers!
IsmaelFebruary 15, 2021 at 5:27 pm #1280593edited:
Thats now working, ill need to delete it when the next update come out though>?
-
This reply was modified 4 years, 9 months ago by
mmsdev.
February 16, 2021 at 2:09 pm #1281335 -
This topic was modified 4 years, 9 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
