Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #393122

    Hello Support,

    Referencing from a previous post:
    https://kriesi.at/support/topic/question-regarding-fullscreen-slider-with-youtube-video-functionality/

    Is there a way for the Mobile & Table when someone goes to http://pmgl.bydecosta.com/ to redirect right away to /home/ and not take a couple of seconds?

    On the PC & Mac Browsers it works great with the javascript you provided.

    Hope to hear from you soon.

    Thanks,
    MP

    #393505

    Hi Marcelo!

    Try with this code instead:

    <script type = "text/javascript">
    
    jQuery(document).ready(function() {
    	if(jQuery.avia_utilities.isMobile){
    		location.href = "insert your URL here";
    	}else{
    		window.setTimeout(function() {
    		    location.href = "insert your URL here";
    		}, 5000);		
    	}
    });
    
    </script

    Best regards,
    Josue

    #393552

    Thanks Josue,

    I replaced the Javascript, I think it work but is hard to tell, because it still takes a couple of seconds when viewed on the iphone.
    Is there a way to add a script for the iPad as well?

    Thanks again for your help.

    MP

    #393969

    Hey!

    It will take a couple of seconds to make the redirect because the script needs to be loaded first, regarding iPad it should be working the same as the iPhone as both environments are recognised as mobile by Enfold.

    Regards,
    Josue

    #394669

    Thanks again for your help and info.

    MP

    #394677

    You are welcome, glad to help :)

    Regards,
    Josue

    #399804

    One more question Josue that my colleagues are wondering if there is a way to add a 2 seconds fade in the beginning of the video and 2 seconds fade out in the video that is playing in the Splash page.

    Thank you,
    MP

    #399845

    Hey,

    Hmm, i don’t think that’s easily doable to be honest, however there will be some page transition effects in the next patch.

    Regards,
    Josue

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