Compatibility issue with Revolution Slider YouTube Video
-
Rev Slider Version 6.6.15
Site Kit Version 1.106.0
WP Version 6.3Having the GA4 insertion option enabled causes Revolution Slider YouTube videos to fail to (auto-)play:—
We have had to disable GA4 insertion until this bug can be fixed.
-
Thanks for reaching out @harryfear. I’d be happy to test for any conflict that you may be experiencing with Revolution Slider. In order to do so can you please share the following:
- Your Site Health information. You can use this form to share privately if preferred.??
- Can you confirm that this occurs for non logged in users also? I ask as what may be occurring is a multi plugin conflict with the Site Kit admin toolbar feature and minifiction. You can test this by allowing Site Kit to insert your GA4 snippet once more and visiting your slideshow from a Chrome browser incognito window (so you’re not logged in)
- If you temporarily deactivate LiteSpeed Cache does the same occur (with Site Kit placing the GA4 snippet)?
Let me know if you have any questions with the above.
Hi James,
Thanks for your earnest reply!
??Have submitted the Site Health info on the Google form ?
??Yes, the issue effects non-logged in users too.
??Disabling the LiteSpeed Cache plugin and any edge caching makes no difference in our testing.
? In our testing, with Site Kit enabled and only other core functionality plugins activated, the issue persists. See screenshots:
Thanks for the additional information @harryfear. As you’re encountering a conflict with a commercial plugins it’s not as easy to test on our side. I did perform some checks with the information you kindly shared (example 1, example 2) and some references online that related to possible cache related issues based on those errors. This is independent of Site Kit, and it looks like you don’t have GA4 placed via Site Kit at present.
To troubleshoot this further, can you enable GA4 snippet placement via Site Kit once more while I check your site? After doing so I’ll propose some further checks using the Health Check & Troubleshooting plugin. Before doing so please let me know once GA4 is enabled once more. Thank you!
Hi James,
We’ve re-enabled GA4 placement on the live site. And I confirm the videos now do not autoplay.
You can find the live site now open for public debugging.
Let me know how this goes.
As mentioned previously, in our testing with all non-critical plugins disabled the bug still persists; unrelated to caching/else.
Appreciate you checking this @harryfear. I can see various browser console errors output although I can’t be sure of the cause at this point. Note also that the video will play when using Firefox from my local machine after checking your site across browsers. I’m happy to share a recording of this here if you wish, or alternatively can you check some other browsers?
To troubleshoot this further, in order to check for any multi party conflict, we can either test out a manually inserted GA4 snippet, which can be used to display GA4 data on the Site Kit dashboard, or we can use the Health Check & Troubleshooting plugin. Let me know what you prefer and I provide some suggestions. please do also check and share whether you encounter the same in different browsers.
I’ve temporarily disabled all non-critical plugins, so we now have 4 plugins active only – and no caching:
Oxygen Version: 4.7
Pods – Custom Content Types and Fields Version: 2.9.19
Site Kit by Google Version: 1.107.0
Slider Revolution Version: 6.6.15
WordPress Version 6.3There are no unrelated console errors. Just one Revolution Slider one: https://ibb.co/K6P5Rx2
Thanks for the update @harryfear. I believe the console error you’re referring to caused the YouTube slider to not function (with the Site Kit placed GA4 snippet). As per my previous test all seems to work fine in Firefox, without this console error.
To troubleshoot this further, as opposed to deactivating your plugins as you have, please follow the steps below:
- Install and activate the Health Check & Troubleshooting plugin.
- Navigate to “Plugins > Health Check & Troubleshooting > Troubleshoot”.
- From the same screen click on the “Available Plugins” tab at the top right and then click on the “Enable” option next to “Site Kit by Google“ and also your Slider solution.
- Check your site once more, checking does the video play (with a site Kit placed GA4 snippet). While in troubleshooting mode you’ll notice that for you only, as a logged in user, you’ll be viewing your site with a core theme. Note also that you may need to place your slider shortcode into a post to make it viewable.
When performing check 4 above, please check in both a Chrome browser and Firefox or another browser you may have installed. You can share a recording of what you’re seeing privately using this form once more. The above check will help determine whether the same occurs with only Site Kit and Slider Revolution active.
Using the Health Check & Troubleshooting tool just returned us to the same point:
Enabling Site Kit GA4 snippet causes the videos to not auto-play (although OK in Firefox, as you said).It seems to relate to user interaction, browser-based auto-play video blocking, and GA4’s event tracking. There’s apparently some issue here in this triangle.
https://github.com/jwplayer/jwplayer/issues/2525#issuecomment-344429160
Youtube video don`t play (slider revolution)
byu/siegfriedx1 inWordPressI’ll send these latest findings to Slider Revolution support.
On our part, how can we check whether manual snippet placement gets around the issue?
- This reply was modified 1 year, 3 months ago by harryfear.
Further to previous, manual code insertion of Gtag shows that commenting out GA4 line solves the YouTube autoplay bug, meaning that it’s not the SiteKit implementation of GA4 that’s at fault, but rather GA4 itself:
//gtag("config", "GT-PJ7SSQM");
This issue is not resolved but isn’t related to this plugin, so I’m marking it as resolved.
It would be useful to know whether we can keep GA4 turned off and just use Universal Analytics? I thought legacy GA was turned off in July 2023 and GA4 was necessary to have any working analytics. I hope you can illuminate kindly?
Nice find @harryfear, and good idea to submit these to Slider Revolution.
On our part, how can we check whether manual snippet placement gets around the issue?
I don’t suspect a manual snippet placement will get around it. My theory, considering Site Kit places the GA4 snippet as recommend via Google Analytics, is that the same occurs with a manual snippet placement. I suggested this check to ensure this isn’t specific to Site Kit.
What you can do in order to check this, is toggle off the option for Site Kit to place your GA4 snippet. After doing so, obtain your GA4 snippet from analytics.google.com and place this yourself, into your theme files or ideally a child theme. You can then check in both Chrome and Firefox once more. If the same occurs, this confirms the issue isn’t specific to Site Kit, but should be reported.
Let me know how you get on with a manual placement. I’m also happy to check your site once more after you’ve done so.
This is a GA4 issue, not a SiteKit issue.
What are the consequences of turning of GA4 placement and falling back to Universal Analytics placement only? I thought all non-GA4 analytics were deprecated in July 2023?
I wouldn’t recommend switching to only Universal Analytics. While you may have data flowing for UA at present, as some users reported, UA has been sunset.
What you may wish to try as a workaround, is use GA4 via Tag Manager. In order to do so, you can add a GA4 tag to a Tag Manager container. After doing so, connect this via Site Kit’s Tag Manager module. Ensure you are not using Site Kit to place your GA4 snippet and check once more.
- The topic ‘Compatibility issue with Revolution Slider YouTube Video’ is closed to new replies.