Home › Forums › WoodMart support forum › Product video URL no longer working
Product video URL no longer working
- This topic has 12 replies, 2 voices, and was last updated 11 months, 3 weeks ago by webreturn.
-
AuthorPosts
-
January 30, 2024 at 12:03 pm #534913
webreturnParticipantHi, we have multiple products that contain a video. For some reason the video playback is no longer working. We use the Product video URL option when editing a product. We attached a couple of screenshots.
We already tried:
– Cleaning the cache (Litespeed)
– Deactivating cache (current situation)
– Deactivating all plugins
– Saving the product
– Embedding the same video in a page to make sure that Youtube allows the embeding of this video (works)Attachments:
You must be logged in to view attached files.January 30, 2024 at 12:29 pm #534938
Artem TemosKeymasterHello,
Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there.
Thank you in advance
January 30, 2024 at 5:59 pm #535178
webreturnParticipantHi Artem, we found out the plugin causing the issue. It seems that Google Tag Manager is causing the video to not load. There’s a few custom tags for remarketing purposes in Tag Manager but I’m not sure if that’s something you’re willing / able to help with?
We’re using the plugin Google Tag Manager 4 WordPress, whenever we enable the container to load GTM, the video stops working.
January 30, 2024 at 6:06 pm #535184
Artem TemosKeymasterPlease, send us your admin and FTP access so we can check this on your website.
January 30, 2024 at 6:21 pm #535191
webreturnParticipantSee private content.
This is a testing enviroment, please do not disable the maintenance mode. Thanks!January 31, 2024 at 10:14 am #535319
Artem TemosKeymasterWe need your FTP access as well.
January 31, 2024 at 11:22 am #535358
webreturnParticipantMy bad, FTP access is in the private content area.
January 31, 2024 at 12:28 pm #535393
Artem TemosKeymasterRegarding the test site you provided in the video, it works when the Google Tag Manager plugin is enabled. This indicates that it is not configured. Could you please configure it to identify the issue, or provide similar access only to the main site where it is not working?
January 31, 2024 at 12:57 pm #535423
webreturnParticipantHi Artem,
Thanks for checking. The GTM plugin was still enabled and when I test the product video’s it still does not work.
I have checked two products, i’ll link both of them in the private content area. Maybe you can check those as well.
To be clear, I mean the video behind the third picture, so not the extra ‘watch video’ option above the ‘click to enlarge’ button.I now see that my colleague wrote about the wrong video. Sorry for that.
January 31, 2024 at 3:39 pm #535531
Artem TemosKeymasterTry to add the following code snippet to the Custom JS area in Theme Settings to fix this issue. Let us know how it works
window.addEventListener('load',function() { if ( document.querySelector('.woocommerce-product-gallery .wd-carousel-item.wd-with-video') ) { let tag = document.createElement( 'script' ); tag.src = "//www.youtube.com/iframe_api"; let firstScriptTag = document.getElementsByTagName( 'script' )[0]; firstScriptTag.parentNode.insertBefore( tag, firstScriptTag ); } });
January 31, 2024 at 6:00 pm #535588
webreturnParticipantHi Artem, thanks for providing the fix! It seems that the video is working again (I send our cliƫnt an email to confirm this). Is this a bug in the template or is this only the case with our client (and all the plugins and customizations that we have)?
February 1, 2024 at 10:24 am #535711
Artem TemosKeymasterIt seems to be our theme’s bug and it will be fixed in our next theme update.
Kind Regards
February 1, 2024 at 5:18 pm #535917
webreturnParticipantAlright thanks for letting us know. You can close this ticket.
-
AuthorPosts
Tagged: Video Youtube
The topic ‘Product video URL no longer working’ is closed to new replies.
- You must be logged in to create new topics. Login / Register