I’m trying to get Magnific Popup to work on an iPhone 4s. When the image is clicked, instead of playing the video in the browser, it goes to the Vimeo website. The javascript used can be found here:
It works fine on desktop computers, both mac and pc but not on an iPhone 4s (haven’t tested it on later versions). Does anyone know of a workaround?
Not my area of expertise, and I don’t want to sound trite, but I believe that the iPhone 4 line is old enough to not really worry about. Have you checked any webmetric sites to see what percentage of browsers used these days are iPhone 4 browsers?
V/r,
^ _ ^
UPDATE: I just checked WikiPedia and the iPhone 4 line was introduced in 2010. Eight years ago, as of this typing. I wonder how many iPhone 4s are still being used. The last iPhone 4s was manufactured in mid-late 2014.
I am definitely out of my league here, but in my dated experience, “0” would mean “disabled” and “1” would mean “enabled”. Therefore, changing disableOn from “0” to “1” sounds like it would enable the disable-at-narrow-widths feature.
Just a guess. Try it. What’s the worst that could happen?
Thanks for the suggestion - I just tried that but it didn’t help. My jquery is only basic so I don’t know how to fix it. Also, I’m using Safari on my iPhone so it may just be that browser. I’m unable to install Chrome as it’s an outdated iOS.