Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #953618

    This is new as of yesterday on our site. I have a Fullwidth Easy Slider with 3 slides, all having video backgrounds. I have added fallback images to each and it was working fine until yesterday. Now, on iPhones, it is asking for [object, object] where the image should be.

    Any ideas what is going on here?

    #954562

    Hey John,

    Thank you for using Enfold.

    Could you still reproduce the issue today? Please try to disable the theme’s css and js compression temporarily.

    Best regards,
    Ismael

    #954688

    The problem still exists today.

    Do you have instructions on disabling the css and js compression? Not sure how to do this.

    Thanks

    John

    #954741

    I’m also getting the [object Object] for a vimeo video on the Fullwidth Easy Slider on mobile. The compression for JS and CSS is disabled in the theme settings.

    #955224

    Same problem for me with the latest version of Enfold.
    It is the fallback image that makes error [object Object] on mobile devices.

    #955294

    Hi,

    Do you have instructions on disabling the css and js compression?

    We edited the config-templatebuilder > aviashortcodes > slideshow > slideshow.js line 224-225
    file temporarily. The fall back images should be working properly now. We’ll let you know once we found a final fix.

    var image = $('<img src="'+fallback+'" alt="" title="" />');
    						var lightbox = false;
    
    						if(appendTo.is('a'))
    						{
    							appendTo.attr('href', fallback_link);
    							lightbox = true;
    						}
    
    						if( 'string' == typeof fallback_link && fallback_link.trim() != '' && !appendTo.is('a'))
    						{
    							image = $('<a href="' + fallback_link.trim() + '" rel="lightbox"><img src="'+fallback+'" alt="" title="" /></a>');
    							lightbox = true;
    						}
    
    						if( lightbox && $.fn.avia_activate_lightbox)
    						{
    							current.parents('#main').avia_activate_lightbox();
    						}
    
    						current.find('.avia-slide-wrap').append(image);
    

    Best regards,
    Ismael

    #955517

    Hi Ismael,

    Now the video slider on desktop view doesn’t work. No scrolling to next slide. Can you please reset to the way it was?

    Thanks

    John

    #956521

    I tried the fix above by Ismael. The fallback image works but it still shows the text [object Object] below the fallback image. Since the class of the error message is the same as the fallback image itself we are not able to hide the text with css.

    #956923

    Hi,


    @studioem
    : I forgot to revert the following line to the original code.

    if(this.isMobile)
    

    The videos in the slider should work properly now.

    Best regards,
    Ismael

    #957116

    Thank you!

    #957706

    Hi,

    Glad we could help!
    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Basilis

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Fullwidth Easy Slider with Video asking for "[Object]" on Mobile’ is closed to new replies.