WordPress.org

Forums

TubePress
js minify breaks the tubepress (3 posts)

  1. mmln
    Member
    Posted 3 years ago #

    I use 'W3 total cache' plugin to minify the JS and CSS. When js minify option is enabled gallery thumnails are not clickable and doesn't open the video. No issues to play the single video.
    When js minify removed everything works fine.
    In js minify I even removed the tubepress.js but still problem exists. Any one have the same problem ?
    Firebug says
    `SCRIPT5009: 'jQuery' is undefined
    videos, line 1 character 1
    SCRIPT5009: 'TubePressGallery' is undefined
    videos, line 8 character 1
    SCRIPT5009: 'jQuery' is undefined
    default.include-footer-nb.e4d136.js, line 5 character 12`

    http://wordpress.org/extend/plugins/tubepress/

  2. Ryan Cowles
    Member
    Posted 3 years ago #

    It sounds like you're running into a jQuery conflict, or possibly there are jQuery calls before the jQuery script is loaded.

    What if you exempt jQuery itself from being minified?

  3. mmln
    Member
    Posted 3 years ago #

    yah after excluding jquery.js and tubepress.js from minify, thumbnails are working fine.
    Is there any better way to minify all .js files ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TubePress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags