New Dynamic YouTube Gallery - Embed YouTube Playlist, Channel, Live Stream in minutes. Read More

JQuery conflict with Lightbox

  • Daniel
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

JQuery conflict with Lightbox was created by Daniel

Hello,
I have a JQuery conflict with the lightbox library. I need to load:
<script src="/components/com_allvideoshare/assets/mediaelement/mediaelement-and-player.min.js?v=3.2.0"
 type="text/javascript"></script>   
<script src="/components/com_allvideoshare/assets/mediaelement/renderers/vimeo.min.js?v=3.2.0"
 type="text/javascript"></script>
<script src="/components/com_allvideoshare/assets/js/allvideoshare.js?v=3.2.0" type="text/javascript"></script>

at the end of the </head> section (Right after:<script src="/cache/widgetkit/widgetkit-ff4ad8d9.js" type="text/javascript"></script> how to do it?

Regards,
5 years 3 months ago #9310

Please Log in or Create an account to join the conversation.

  • Posts: 2477
  • Thank you received: 1451

Replied by Administrator on topic JQuery conflict with Lightbox

Kindly get me your site link in where the conflict occurs. So, I can guide you accordingly.
5 years 3 months ago #9311

Please Log in or Create an account to join the conversation.

  • Daniel
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Replied by Daniel on topic JQuery conflict with Lightbox

Hello,
Here is ok (click on photos - lightbox is working):
rendar.com.pl/galeria-zdjec

Here is JQuery conflict (click on the photos doesn't work):
rendar.com.pl/angielski-jezykowy-oboz-le...a-dzieci-i-mlodziezy


regards,
D.
5 years 3 months ago #9312

Please Log in or Create an account to join the conversation.

  • Posts: 2477
  • Thank you received: 1451

Replied by Administrator on topic JQuery conflict with Lightbox

Probably a conflict with MediaElement.js library comes with the Widgetkit installed in your website.

 1. Go to Components » Widgetkit
 2. Find the option to disable "MediaElement" Player and just disable it.
 3. Save the changes, clear the CACHE and try now.

 Hope, this solved your issue!

In case the issue remains, email us your Joomla! admin and FTP access details to This email address is being protected from spambots. You need JavaScript enabled to view it.. So, we can further investigate on this.
Last edit: 5 years 3 months ago by Administrator.
5 years 3 months ago #9313

Please Log in or Create an account to join the conversation.

  • Daniel
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Replied by Daniel on topic JQuery conflict with Lightbox

Thank you very much it's working!

Can I ask what tools did you use to check JQuery conflikt (That this script mediaelement.js causes an error )?

regards,
D.
5 years 3 months ago #9314

Please Log in or Create an account to join the conversation.

  • Posts: 2477
  • Thank you received: 1451

Replied by Administrator on topic JQuery conflict with Lightbox

I simply used the chrome developer tools to identify the issue. In the console log, I noticed few JavaScript errors from widgetkit. We have faced similar issue previously. So, I guessed mediaelementjs could be the issue and suggested the solution.
5 years 3 months ago #9315

Please Log in or Create an account to join the conversation.

Time to create page: 0.100 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies