Video not playing in Slider reveloution

Our Youtube video is not showing in slider revolution. We followed the instructions from thier website. It plays in the preview but not on the actual page.

Hi @oturnbough,

Thank you for reaching out to us. I checked your site and you’re having the same issue as this user here https://theme.co/apex/forum/t/slider-revolution-youtube-video-will-not-play/12777/20

The following error appears in the browser’s console which indicated that YouTube is being blocked:

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('<URL>') does not match the recipient window's origin ('<URL>').

You can also try fixing it by setting the following in wp-config:

$_SERVER['SERVER_NAME'] = $_SERVER['HTTP_HOST'];

Let us know how this goes!

I placed this in the wp-config.php, at the bottom, this is still not working for me. Can you please advised.

$_SERVER[‘SERVER_NAME’] = $_SERVER[‘HTTP_HOST’];

Hi Pastor Otha,

I tried the video on my dev site as a slider background and slider layer, and both instances it works.


Would you mind providing us login credentials in a secure note so we can take a closer look? [quote="Themeco, post:1, topic:288"] ###Secure Notes

It is very common to need to share sensitive information with our staff such as login or FTP information. In order to keep this private, be sure to use the Secure Note button that you will find at the bottom of each reply.

[/quote]

Thanks,

I submitted a secure note on a previous post above, how do I turn inline Inline to secure note on the post we are currently on, out of curiosity?

Hello Otha,

Thanks for the updates. You will need to submit your reply first and then click the key icon of the recent reply if you want the secure note to be in the latest reply. By the way, this is a CORS issue. Youtube is serve with https and your site is only having http. Installing an SSL certificate should resolve this issue. I would highly recommend that you ask for further assistance from your hosting provider to install the SSL certificate. Once it is installed, you should be having https like in the secure note and your video issue should be resolved.

Kindly let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.