Home › Forums › WoodMart support forum › Video does not load on first click sometimes
Video does not load on first click sometimes
- This topic has 11 replies, 2 voices, and was last updated 2 weeks, 2 days ago by
Luke Nielsen.
-
AuthorPosts
-
November 6, 2024 at 6:29 pm #610378
kontakt-9949ParticipantHello, I am very satisfied with the theme and your customer support, but the video on this product page is not loading on the first click some times: https://www.powerkit.no/butikk/the-car-kit/. This is causing customers to exit the page. How do I fix this? It is very urgent. I am using WP Rocket and have ticked the “WP Rocket delay JS exclusions
“-box under performance -> Plugins . Still does not work. I have also not enabled lazy loading in WP Rocket or in your theme. It is just the standard WordPress lazy loading that is active. Please help me out. Looking forward to your reply. Have a great day.November 7, 2024 at 11:14 am #610456
Luke NielsenKeymasterHello,
Is there any chance that you could give me access to the dashboard area so I can have a look at the settings on your website, please?
Kind Regards
January 4, 2025 at 3:49 pm #627344
kontakt-9949ParticipantHello Luke! Yes please take a look. I have now shared login details with you in the private content tab. Looking forward to hearing from you.
January 4, 2025 at 3:56 pm #627346
kontakt-9949ParticipantBTW: the error happens on mobile, iOS.
January 6, 2025 at 12:53 pm #627584
Luke NielsenKeymasterHello,
It looks like access is wrong – https://prnt.sc/hGaTyXfuLAsj, could you please update it?
Kind Regards
January 6, 2025 at 5:15 pm #627728
kontakt-9949ParticipantHey Luke, I see that you are trying to access the wrong domain. The right domain is powerkit.no. Sorry if I was unclear. I really appreciate the help. Looking forward to hearing from you.
January 7, 2025 at 11:00 am #627889
Luke NielsenKeymasterHello,
Please update the theme to the latest version and the Core plugin as well, https://prnt.sc/XKHwTYfqgg-U , https://prnt.sc/hhccTQQ0xEah
Then check how it works.
Kind Regards
January 8, 2025 at 6:11 pm #628377
kontakt-9949ParticipantI updated the theme and the plugin. It did not fix the issue. It did however remove all of my woodmart child theme translations from the live page. It still says that I have translated them in LocoTranslate, but the live site does not react. How am I going to fix this problem? I have tried syncing and saving, but that does not work…
January 8, 2025 at 6:43 pm #628387
Luke NielsenKeymasterHello,
Try to add the below code to the “On document ready” area in Theme Settings -> Custom JS:
if ( document.querySelector('.woocommerce-product-gallery .wd-carousel-item.wd-with-video') ) { const tag = document.createElement( 'script' ); tag.src = '//www.youtube.com/iframe_api'; const firstScriptTag = document.getElementsByTagName( 'script' )[0]; firstScriptTag.parentNode.insertBefore( tag, firstScriptTag ); }
Clear the cache and check how it works.
2. Clarify which fields translated in the Loco are not working.
Kind Regards
January 23, 2025 at 1:59 pm #632168
kontakt-9949ParticipantHey, the code you gave me solved half of the problem. Thank you for moving the issue forward. Now, every time the video loads, the video actually shows up. Thats a big improvement! The issue I am still experiencing however, is that you have to click the video’s play icon multiple times for it to start loading. How do we fix this? Experiencing the issue on mobile, iOS.
The translation of the strings worked itself out when I updated the theme, so that is fixed.
Thank you for your great help so far. I really appreciate it.
January 23, 2025 at 9:35 pm #632353
kontakt-9949ParticipantThe code you gave me did not work after all, unfortunately. Error still persists.
January 27, 2025 at 3:13 pm #633103
Luke NielsenKeymasterHello,
I apologize for the delay.
May I disable 3rd party plugins and enable the parent theme for testing?
Thank you in advance.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register