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.
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
What about for videos on iPad Mini or iPhone?
Hi!
I think iPad Mini and iPhone don’t allow this function at all.
Best regards,
Andy