-
AuthorPosts
-
May 9, 2018 at 12:47 am #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?
May 10, 2018 at 2:04 pm #954562Hey 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,
IsmaelMay 10, 2018 at 5:06 pm #954688The problem still exists today.
Do you have instructions on disabling the css and js compression? Not sure how to do this.
Thanks
John
May 10, 2018 at 6:11 pm #954741I’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.
May 11, 2018 at 12:25 pm #955224Same problem for me with the latest version of Enfold.
It is the fallback image that makes error [object Object] on mobile devices.May 11, 2018 at 2:04 pm #955294Hi,
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,
IsmaelMay 12, 2018 at 12:40 am #955517Hi 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
May 14, 2018 at 4:31 pm #956521I 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.
May 15, 2018 at 12:11 pm #956923Hi,
@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,
IsmaelMay 15, 2018 at 5:23 pm #957116Thank you!
May 16, 2018 at 9:17 pm #957706Hi,
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 -
AuthorPosts
- The topic ‘Fullwidth Easy Slider with Video asking for "[Object]" on Mobile’ is closed to new replies.