-
AuthorPosts
-
February 12, 2021 at 11:58 am #1279964
As mentioned in the post #post-1279963 videos that are feed in from YouTube have suddenly starting giving an error message and will not loop or play again as part of a slide show. So I changed the YouTube video to a Vimeo video instead. This is fine in Firefox (Mac) and plays within a slideshow. However in Chrome and Safari it will only play once then stops. It will not play any other slides in the slide show after the video.
So then I tried uploading the video to the server as I thought this might be a good temporary fix while the YouTube issue is being looked into. However even though I have all the fallback formats available of the video .mp4, .webm and .ogv the video will only play once in Safari and then it will stop. The other slides in the slideshow don’t get shown. The video is the first slide so that causes major issues.
Hopefully you can work out a solution so that we can get the videos working on all platforms whether from Youtube Vimeo or the server files.
Many Thanks
Regards
ColinFebruary 16, 2021 at 4:58 am #1280697Hi Colin,
I’m not sure if this is related to the YouTube looping problem or not, but could you post a link to where we can test this out on your site please?
Best regards,
RikardFebruary 16, 2021 at 3:58 pm #1281378Hi Rikard
I’ve set-up a test page (see private content) with the video loading from the server. This makes the slideshow stop after playing in Safari.
I can get it to run from YouTube by using the fix so I’ve also included a link to how the sideshow should look, so you can see the difference.Many Thanks
Regards
ColinFebruary 18, 2021 at 5:05 pm #1282028Hey!
Thank you for the update.
The site is on maintenance mode, so we were not able to check the site and test the slider. If you are still using videos from Youtube, please add this snippet in the functions.php file to prevent the previous issue from occurring and allow the video to loop.
add_filter("avf_youtube_video_data", function($data) { unset($data["playlist"]); return $data; }, 10, 1);
Best regards,
IsmaelFebruary 18, 2021 at 5:54 pm #1282030Apoliogies, I have now taken it off maintenance mode so you should be able to see it now
Many Thanks
Regards
ColinFebruary 19, 2021 at 3:34 pm #1282249Hi,
Thank you for following up.
The page using Youtube is now looping properly on our end — playlist parameter is removed. Have you tried viewing it on a Safari browser? Please make sure to purge the cache and do a hard refresh before testing it.
We checked the page using Vimeo on older versions of IE (11, 10, 9) but we are not able to reproduce the issue. The video loops and the slider autorotates indefinitely.
Best regards,
IsmaelFebruary 19, 2021 at 4:48 pm #1282263Hi Ismael
Yes the version feeding in from you YouTube works OK but if we use a video that we have uploaded to the media library it wont play the slideshow (in Safari on a mac). It stops after the video (link in private content)
Many Thanks
Regards
ColinFebruary 22, 2021 at 2:50 pm #1282813Hi,
Thank you for the update.
We cannot reproduce the same issue on IE, but we will forward the issue to our channel. Temporarily, you can keep the filter above and use videos from Youtube, instead of uploading the video to your server. It is much faster and you save a little space in your server.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.