Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #252144

    Hi,

    i understand you deactivated the video function on mobile.
    But we need it on our iPads as a sales presentation.

    How can i force enfold to activate the videos (even the experience would not be great.)
    Which .js or .php parameter i have to change where?

    Site with video: http://www.nbg-systems.com/rails/

    Thank you for your help.

    #252474

    Hey roqetdw!

    Open up wp-content/themes/enfold/js/shortcodes.js and replace:

    
    		//mobile device?
    		this.isMobile 	= $.avia_utilities.isMobile;
    

    with

    
    	//mobile device?
    	this.isMobile 	= $.avia_utilities.isMobile;
    
        	if( /iPad/i.test(navigator.userAgent) && 'ontouchstart' in document.documentElement)
        	{
        		this.isMobile = false;
        	}
    

    Note that I can’t promise you that the videos will work properly. Kriesi had good reasons why he removed the video support for mobile devices and this change will just exclude the ipad from the “mobile device” list. It will not fix any player/video related issues which might be noticeable.

    Cheers!
    Peter

    #496162

    What about for videos on iPad Mini or iPhone?

    #496641

    Hi!

    I think iPad Mini and iPhone don’t allow this function at all.

    Best regards,
    Andy

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Video Background – Mobile’ is closed to new replies.