- This topic has 17 replies, 7 voices, and was last updated 13 years, 4 months ago by .
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate – Linking Directly to YouTube
Tagged: videolightbox, youtube, youtube fancy lightbox
Hi, I just had a look. You have two jquery.js files included on that page (they are coming from your theme or plugin I guess) –
https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js
http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
That’s why there is a javascript conflict on that page and lightbox is not working. Two points to note:
1. jquery.js file shouldn’t be hard-coded to include on any page. Every theme or plugin developer should be using the proper enqueue function defined by WordPress (please have a look at the above link posted by amin007).
2. There will be only one jquery.js file on a page. Multiple jquery.js files will cause javascript conflict.
Please do the following test which will help you identify the issue:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
Hi, having the test as you said, there are 42 errors found, and those really makes me headache, because I don’t know how to fix it.
However I notice you also said about the java conflict and it might comes from plugin as you guess, I tried to deactivated one plugin which I also guess source of the problem, and … AHA all works fine now !!!
In the future I may suggest that please don’t let customers doing the check, because not all customer know well about the script code.
BUT, I would like to say thank you to all of your team, for responding my email and solve my problem. Your assistance is highly appreciate, and God Bless my friends.
Regards
Hendra
Hi, We are glad you where able to figure this our and everything is working for you now. Unfortunately, we cannot fix someone else mistake in their plugin who didn’t follow WordPress’s coding guideline (we can only point you to the mistake). The best practice as WordPress site admin is to only install plugins from good developers.