Product gallery videos broken due to plugin conflict
-
Hi there, we’re trying this plugin out on a development site but can’t get the YouTube videos to work.
Whenever we try a YouTube URL like https://www.youtube.com/watch?v=jNQXAC9IVRw or https://www.youtube.com/embed/jNQXAC9IVRw , it breaks all of the gallery images on the page and throws this JavaScript error:
Uncaught TypeError: Failed to construct 'URL': Invalid URL at getParameterByName (admin.min.js?ver=3.8.4:1:54) at HTMLIFrameElement.<anonymous> (nickx.front.js?ver=1.4.1.5:134:16) at Function.each (jquery.min.js?ver=3.6.3:2:3003) at e.<computed>.each (jquery.min.js?ver=3.6.3:2:1481) at HTMLDocument.<anonymous> (nickx.front.js?ver=1.4.1.5:130:34) at e (jquery.min.js?ver=3.6.3:2:30158) at t (jquery.min.js?ver=3.6.3:2:30460)
Looking at the values in the breakpoint, it appears that the URL function is being passed the hardcoded string “start” rather than the YouTube URL, which I assume is a coding mistake.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Product gallery videos broken due to plugin conflict’ is closed to new replies.