Notifications
Clear all

Embedded video not visible in mobile

5 Posts
2 Users
0 Reactions
128 Views
Posts: 3
Topic starter
(@subpopet)
Active Member
Joined: 10 months ago
[#14707]

I can see it simulating the mobile size in the browser developers tool but I can't see it in a real mobile device. 

Example: https://subnoise.es/foro/videos/video-elanor-moss-you-are-coming-home-tonight/#post-61926


Topic Tags
4 Replies
Astghik
Posts: 6745
Admin
(@astgh)
Illustrious Member
Joined: 9 years ago

Hi,

We checked the page and found that the YouTube video is being blocked by the Hu-manity consent system before it can be loaded. The YouTube URL is stored in the iframe's data-src attribute, while the actual src is replaced with //cdn.hu-manity.co/empty.html until the required consent is given.

After clicking Accept, Hu-manity should replace the src with the actual YouTube URL and load the video. However, this does not appear to happen on the affected page.

Before investigating the Hu-manity script itself, we'd like to rule out a possible conflict with the website's caching/optimization system. We noticed that W3 Total Cache is active and is processing the forum page:

“Served from: subnoise.es ... by W3 Total Cache”

Caching and JavaScript optimization can sometimes affect third-party consent scripts and iframe loading.

Please exclude the wpForo pages from W3 Total Cache, then clear all website, W3 Total Cache, and browser caches and check the video again.

If the issue persists after W3 Total Cache has been excluded, please let us know.


Reply
Posts: 3
Topic starter
(@subpopet)
Active Member
Joined: 10 months ago

These are the pages I'm not caching:

/change-password/
/change-password/.+
/community/
/community/.+
/foro/.+
/participant/
/participant/.+
/sign-in/
/sign-in/.+
/sign-up/
/sign-up/.+
index\.php
wp-.*\.php

But after cleaning the cache it's still not showing the video


Reply
Posts: 3
Topic starter
(@subpopet)
Active Member
Joined: 10 months ago

I disabled the autoblocking option in the cookie compliance settings page and now I can see the embedded videos

image

 


Reply
1 Reply
Astghik
Admin
(@astgh)
Joined: 9 years ago

Illustrious Member
Posts: 6745

@subpopet

Thank you for sharing the solution. We’re glad to hear that the issue has been resolved.

We appreciate you taking the time to share it with the community!


Reply
Share:
Scroll to top