WordPress.org

Support

Support » Plugins and Hacks » TubePress » js minify breaks the tubepress

js minify breaks the tubepress

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘js minify breaks the tubepress’ is closed to new replies.
Skip to toolbar