Inconsistent behavior with YouTube videos
-
Hi,
Cookie acceptance behavior seems a bit random on our site for the display of YouTube videos. We have several posts that have YouTube videos on them. They are all created relatively the same and they all use the same WPBakery video module to display the YouTube videos on them.On the following 3 pages, you have to click on the acceptance of the cookies to see the video.
https://yuconvr.com/animatie-voor-weidezicht-veldhoven/
https://yuconvr.com/groen-programma-gemeente-hilversum-2/
https://yuconvr.com/villa-animatie/A thumbnail of the video is displayed with the message about accepting cookies first before watching the video. This is the expected/documented behavior. HOWEVER, before the thumbnail image, a large, empty, white space shows up. When you click on the message to accept the cookies, the big space disappears. This is pretty ugly. It seems the div, which is the parent to the span which holds the temporary thumbnail, has a padding-top: 56.25%; With the thumbnail taking space in this span, this is “empty” space. Once the thumbnail is gone (when you accept the cookies), the height of the span is then “0”. The padding-top: 56.25%; is still there, but since the span returns to a height of “0” you don’t see it and the iframe for the video takes up the space.
So that styling issue is one problem.
The next problem is that, after I accept the cookies on one of these three pages within the same browsing session and then navigate to another one of them, you DON’T see the YouTube video OR the thumbnail image – just the big empty white space. The cookie acceptance banner is minimized (you can get to it but it’s easy to miss). You actually have to re-open the consent banner and explicitly REFUSE the cookies and then the page refreshes again and you can explicitly accept them on THIS page and then things work.
So that is issue number two – where accepting cookies on one page in a browsing session does not cause subsequent pages to render correctly (that is WITH the video).
The last problem is that with these following pages, you do NOT have to accept the cookies to be able to see the YouTube video. Convenient for the user but not the correct or documented behavior and certainly not consistent:
https://yuconvr.com/yvie/
https://yuconvr.com/animatie-casa-vita-pijnacker/
https://yuconvr.com/animatie-fietsznfabriek-haarlem/
https://yuconvr.com/zicht-venlo/I would appreciate help with this.
Thanks!
- You must be logged in to reply to this topic.