After updating X and plugins all Slider Revolution background video's stopped playing when page loads?

Hi,

After updating Slider Revolution from Version 5.2.5.3 to the new one, all of my video stopped playing when page loads. It shows only image?
I updated the plugin yesterday to version 5.4.5.1 and it did it again so I have to put the old one back which is Version 5.2.5.3 and everything works as it should. I am not sure if it is from the plugin or my side.
All of my videos are hosted on YouTube.
I have tried to debug, but I wasn’t lucky. I need help pleas.

Hey there,

Please check for the following first:

  1. Ensure everything is up to date according to our version compatibility list at https://theme.co/apex/forum/t/troubleshooting-version-compatibility/195

  2. Clear all caches including browser cache then deactivate your caching plugins and other optimization plugins.

  3. If you’re using a CDN, please clear the CDN’s cache and disable optimization services.

  4. Test for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

  5. Remove custom CSS, Javascript and templates.

Thanks.

Thank you for the reply Xian, I have done the required steps and still the video is not working.

Hey There,

In that case, would you mind providing us with login credentials so we can take a closer look? Please provide following information:

Set it as Secure Note

  • Link to your site
  • WordPress Admin username / password
  • FTP credentials

All the best!

Hi there,

Where do you host your site? Is there a way we could disable the cache? Just for testing, the video is playing in the background in my end, but yes, no visual even by removing the poster image but there is no error either.

Thanks.

I host on DigitalOcean.

I host on DigitalOcean.
As per your request I gave disabled the cache.
Please note that I have changed Slider Revolution to the older version 5.2.5.3. It works with no problem. You can try to update it yourself and see the issue. After debugging and trial and error, I came to the conclusion that the problem should me with the YouTube API.
My reason is:

  1. When I change my slide to a video from Vimeo it works properly.
  2. The video from YouTube has a volume when it loads even if I mute the sound on the setting.
  3. When I run on edge, it gives me error saying YouTube Api not working properly and the message goes away. I didn’t came back again when I reload the page multiple times.

I may be wrong since I don’t know much, but please let me know your input.
Thank you

Hi there,

Now that you mentioned that, yes, I see that error where your site is unable to communicate to youtube.

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin

But somehow it should still play, and it does still play on my installation with the latest copy of revslider. Maybe in your case, rev slider fails to capture the success event that will trigger the video initialization when that postMessage error is being displayed. I’ll continue checking, but I can’t rule out that it’s revslider’s bug since it’s fine in my installation.

Thanks!

I don’t think is Rev Slider since it’s happening for me too. I’m using a regular video element on autoplay, but you can only see it while the page is loading. Once the spinning wheel on the tab icon disappear, the video stops.
This is the page https://brincdrones.com/

Hello @mcostales84,

Thanks for updating this thread. Please be advised that you cannot use a Youtube video (https://www.youtube.com/watch?v=Zi4gK2o9B-c) in the video player. Please be informed that the video player will only accept video URLs ending with *.mp4, *.ogv and *.webm. If you are going to host your video in Youtube, please use the Embed type instead and insert the Youtube Embedded video code.


Video embed code:

<iframe width="560" height="315" src="https://www.youtube.com/embed/Zi4gK2o9B-c" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Hope this helps.

That’s actually not true, I can play a video from youtube using the player, I don’t need the embed code. Anyway, not even using the embed code the video keep playing after loading the page.
And also, now I added a direct link to a webm and mp4 video, and the same thing happens

Hey @mcostales84,

I can see this:

The Youtube video link might play in Chrome. Regretfully that is not the correct way and in most browsers, it is not compatible. It is best that you use *.mp4 and *.webm in that order.

Regards.