Im using WKWebView control in my iOS app. I'm loading a web page with iframe on it (iframe source is link to Microsoft Office Online application), but that iframe is empty, and I have error in Xcode Simulator's developer tools:
But in Safari and Chrome browsers iframe loading normally.
What's wrong with my WKWebView?
Related
Mobile Chrome (v45.2454.68) in iOS displays error when rendering the audio element using data uri.
It works in desktop Chrome, Safari and Firefox and also works in mobile Safari. Is there a way to fix it?
I have error in a phonegap application and in my website when I open it in chrome browser in IOS. I suspect that it happens because of chrome and phonegap use UIWebView class. But there is no errors in mobile safari. So, I would like to know if safari use this class too.
No. Chrome does indeed contain a UIWebView, but most of MobileSafari is built on WebKit.
I currently have a website that does not function very well inside of Opera Mini. I would like to display a message that informs the user that the website is best viewed in Mobile Safari, and provide the user a link that will open the URL in Mobile Safari.
I know that the reverse is true, by taking a link like http://www.apple.com and changing it to ohttp://www.apple.com you are able to navigate from Mobile Safari into Opera Mini. However, I cannot find information on if the reverse is true.
You can’t do this in Opera Mini. Opera Mini can hand off to the native browser (or player) for video content that it can’t play, but not for HTML content.
Is it possible to embed the safari browser or a downloadable browser such as Google Chrome into a native mobile application? For example, the app runs entirely independent, but has the option to open the safari browser within the application, rather than opening the Safari that is installed into the phone.
No, this is not possible in iOS. Use a UIWebView instead.
Use webviews instead and here is a list of 3rd party webviews which have more or less the same as safari iphone https://www.cocoacontrols.com/search?utf8=%E2%9C%93&q=webview
I've recently run into an issue when embedding a video with standard iframe embed code and adding autoplay=1 like this:
<iframe width="420" height="315" src="http://www.youtube.com/embed/Le4kjAIcj4k?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>
The results when testing:
autoplay works both on desktop and mobile if the Flash-version of the
player is loaded (if Flash is present & no HTML5-beta participation cookie is present)
it works in the HTML5-version on the Desktop as well
but does not autoplay in the HTML5 mobile version (tested on Android
4.1.2 with both Firefox Mobile and Chrome on this page, on Android you need to make sure you don't have flash).
Is this a known issue? Any workaround?
When you use the <iframe> Player in a browser that has Flash disabled, playback is handled via HTML5 <video> tags.
Apple explicitly prohibits autoplaying media in <video> tags in iOS Safari.
This is also the case for at least recent versions the default Android Browser or in Chrome. I'd strongly suspect that Android Firefox has the same restriction.