WordPress.org

Ready to get started?Download WordPress

Forums

Slideshow
Remove YouTube script from head (4 posts)

  1. Emil
    Member
    Posted 1 year ago #

    Hi,

    Thanks for the great plugin! Because of the EU cookie directive every cookie is a pain and it seems like your plugin adds a couple of YouTube scripts in the head that uses cookies. I'm not using YouTube on the site, so I want to disable this but I haven't been able to locate it in the plugin files. How would I remove the scripts?

    <script src="http://s.ytimg.com/yts/jsbin/www-widgetapi-*.js" async=""></script>
    <script src="//www.youtube.com/iframe_api"></script>

    http://wordpress.org/plugins/slideshow-jquery-image-gallery/

  2. vegas171
    Member
    Posted 1 year ago #

    I have the same problem, my website keeps hanging because it wants to connect to http://www.youtube.com and s.ytimg.com and I'm not using the video feature. Anyway to stop it from happening?

  3. vegas171
    Member
    Posted 1 year ago #

    Solved

    Go to Plugins/slideshow-jquery-image-gallery/js/SlideshowPlugin/slideshow.min.js and delete the http://www.youtube.com link, done.

  4. Emil
    Member
    Posted 1 year ago #

    That is one way to do, however when you update the plugin your changes will be gone. I was hoping the developers had a more permanent solution.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.