Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #981348

    Hi Enfold Team,

    unfortunately, the fallback image does not work in the fullwidth slider on mobile devices and only displays a text [object object]. You will find the link to my example in “private content”…but you seem to know the problem already.
    The video in the slider is a Youtube video.
    Enfold and WordPress are up to date!

    I have apparently found a solution in the forum, but I’m not a programmer and unsure how to implement it.
    Here what I found:
    #955294

    Please take a look at my file (see private content) and give me feedback on the questions.

    And when do you think you can solve the problem in general?
    This point is really something that should work.

    Thanks for the help in advance…

    #981594

    Hi cheffe!

    Thank you for using Enfold.

    We would like to implement the solution for you. Please provide the login details in the private field. This is going to be included in the latest version of the theme.

    Cheers!
    Ismael

    #981625

    That sounds good :-)

    And what about the next update of Enfold…will these corrections be overwritten?
    If so, what do I do then?
    Or will your solution be integrated into the next update of Enfold?…hopefully.

    Can I continue to work parallel on the website or should I wait until you have implement the solution?

    Currently using Enfold version 4.4.1

    thx Ismael

    #982902

    Hi,

    Thanks for the update.

    We’ve added the modification in the config-templatebuidler > slideshow > slideshow.js file. The fix is not included in the core yet. Please check the theme’s change log on the next udpate.

    Best regards,
    Ismael

    #983398

    So Ismael, how will I be able to also fix my [object object] error on mobile when using the fallback image?

    #983456

    I went back to an older thread with this same issue in which you gave code to replace what was in lines 224-225, and then later in that thread you said you needed to revert some part of it to if(this.isMobile)

    Could you please provide more information on where if(this.isMobile) needs to be added and/or what it is to replace?

    Thank you!

    #983989

    Hi,

    That line is in the same file as the modification described in the previous thread.

    // https://kriesi.at/support/topic/fullwidth-easy-slider-with-video-asking-for-object-on-mobile/#post-955294

    Line 174 should look like this.

    if(this.isMobile)
    

    Best regards,
    Ismael

    #984347

    OK, I think I am close to understanding. This is the code that I pasted into the editor, and since my line numbers don’t exactly match because I’ve maybe added a few other things in the past, can you tell me where I need to insert if(this.isMobile)?
    ——————————-
    var image = $(‘‘);
    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 = $(‘‘);
    lightbox = true;
    }

    if( lightbox && $.fn.avia_activate_lightbox)
    {
    current.parents(‘#main’).avia_activate_lightbox();
    }

    current.find(‘.avia-slide-wrap’).append(image);

    #984438

    Hi,

    You don’t need to add or modify the line “if(this.isMobile)?”. It’s already there. I needed to alter that line on a user’s site while doing the test and I forgot to revert it back.

    Best regards,
    Ismael

    #984628

    Hi Ismael,
    sorry for the late feedback …
    Thanks for the modification … it works :-)

    #984709

    Hi cheffe,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #984892

    I am having the Same issue With My site How can I resolve that? please I can’t figure it out on my own

    #985087

    Hi,

    The site is very slow on my end. I also got a server error when I accessed the site. Please ask your hosting provider to check the site and then create a new thread. We’ll check the issue there.

    This is the required modification.

    // https://kriesi.at/support/topic/fullwidth-easy-slider-with-video-asking-for-object-on-mobile/#post-955294

    Best regards,
    Ismael

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.