How to stop the jQuery carousel from loading YouTube and Vimeo API

Question:

I do not have any videos running in the carousel. How can I stop the carousel from loading the YouTube API?

Answer:

By default, the jQuery carousel will load the YouTube API and Vimeo API. If your carousel doesn’t have any videos, you can add the following HTML code to your webpage to stop the carousel from loading them:

<div id="html5lightbox_options" data-inityoutube="false" data-initvimeo="false"></div>

Below is a screenshot of how it looks like in the HTML code:

jquery-carousel-no-youtube