WordPress.org

Ready to get started?Download WordPress

Forums

BJ Lazy Load
[resolved] Compability issue with WPtouch plugin (7 posts)

  1. AxelPiskulic
    Member
    Posted 1 year ago #

    Hello Bjørn,

    Thank you very much for your work! I implemented a mobile version of my website using a plugin called WPtouch plugin.

    In the mobile site the videos are automatically scaled to the visitor's screen size but I see it doesn't works if I set BJ Lazy Loads plugin to "lazy loads" iframes.

    Well, lazy loads is a very important function in the version for visitors using a desktop PC. And scaling videos is important in the mobile version.

    I try to deactivate BJ Lazy Load in the mobile theme by put some php code in the functions.php file. Actually I don't know PHP but I try with

    wp_deregister_script( 'jquery.sonar' );
    wp_deregister_script( 'BJLL' );

    and also with...

    wp_dequeue_script( 'jquery.sonar' );
    wp_dequeue_script( 'BJLL' ); ?>

    My question is how to remove the BJ Lazy Load functions just for a certain theme in my WordPress site.

    Thank you very much for any idea!

    Axel Piskulic

    http://wordpress.org/extend/plugins/bj-lazy-load/

  2. Bjørn Johansen
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Axel

    Thank you for your support and feedback.

    I am close to having a new version ready, and have made an option to disable BJ Lazy Load on the WPTouch mobile theme if WPTouch is installed.

    You can download a working copy of the next version here: http://cl.ly/0G1T1T2J2K0J

    Be aware that this version introduces two new features: Loading of hiDPI images and loading of responsive images. There will be changes to both of these features before the official release. Also, if you use a CDN, they don't work (yet).

    I will release it within the next couple of weeks, so if this issue isn't urgent, I'd recommend you to wait. I would be happy if you tested it and let me know if it fixes your issue, though :-)

    -Bjørn-

  3. Bjørn Johansen
    Member
    Plugin Author

    Posted 1 year ago #

    Don't use the above link. Version 0.6.0 was just released.

  4. AxelPiskulic
    Member
    Posted 1 year ago #

    Hello Bjørn,

    I just updated BJ Lazy Load plugin and I wait for the next version for WPtouch feature.

    Just in case: There are two versions of WPtouch (free and pro). I see the problem whith scaling videos function with WPtouch pro version but I tested now (in other WordPress site) the free WPtouch with BJ Lazy Load new version and the scaling videos function it doesn't work in the mobile version of the site.

    Thank you very much Bjørn!

  5. AxelPiskulic
    Member
    Posted 1 year ago #

    Hi Bjørn,

    I was confused. Now I understand: in the new version of BJ Lazy Load now there is an option to disable the plugin if WPtouch plugin is installed.

    The problem (I think) still exists for the "pro" version of WPtouch.

    Axel

  6. Bjørn Johansen
    Member
    Plugin Author

    Posted 1 year ago #

    OK, Axel. Version 0.6.3 should now detect WPTouch Pro as well.

    Hope this will work fine for you!

  7. AxelPiskulic
    Member
    Posted 1 year ago #

    Thank You very much, Bjørn! It works perfectly with WPtouch Pro.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.