-
AuthorPosts
-
December 16, 2021 at 9:35 am #1333052
Can’t get any youtube videos to show up or play on my site. Try shorts codes, embedding them even using a lightbox and nothing shows, I have the latest version of the theme my server is up to date.
I don’t know what I’m doing wrong.
December 16, 2021 at 11:02 am #1333088Hey covaun,
Thank you for the inquiry.
Have you tried using the video element? Did you enable the Enfold > Privacy & Cookies settings? It is possible that the privacy option is not allowing the video elements to load immediately without user consent or without accepting the privacy cookies first. Please provide a link to the page containing the video so that we can check it.
Best regards,
IsmaelDecember 16, 2021 at 6:53 pm #1333170Here is a link:
December 17, 2021 at 7:56 am #1333212Hi,
Thanks for that. Please share admin WordPress login details with us as well, so that we can have a look at the backend.
Best regards,
RikardDecember 17, 2021 at 5:40 pm #1333280Private
- This reply was modified 3 years ago by Rikard.
December 19, 2021 at 9:59 pm #1333470Hi,
Thank you for your patience and for the login, I’m not sure what is causing this error, there are no error messages displayed, I tried deactivating your plugins but this didn’t help, I tested your video on my test site and it works correctly.
Your WordPress ▸ Tools ▸ Site Health says Custom rules have been added to your .htaccess file., perhaps check that out, also check your server error logs.Best regards,
MikeDecember 21, 2021 at 11:34 am #1333628what youtube code did you enter?
in combination with lightbox please try it with “watch” : like – https://www.youtube.com/watch?v=G0k3kHtyoqc
on your link above this is not the case – so maybe Mike is right and there are some Content-Security-Policy entries in your htaccess file.___________
Edit: your video is playing – but there is no image – your audio is working on the video!:lol ) you got an inline rule :
div div iframe { opacity: 0; border-style: none; visibility: hidden; }
don’t know where it comes from ?
if you do not find it – try first to overwrite that rule by:#top div div iframe { opacity: 1 !important; border-style: none; visibility: visible !important; }
why there is no preview image on that i do not know!
December 21, 2021 at 2:47 pm #1333654January 5, 2022 at 11:19 am #1334343by the way that rule seems to come from:
The following CSS codes are created by the YellowPencil plugin.
-
AuthorPosts
- The topic ‘Youtube videos not playing on site’ is closed to new replies.