Does mobile browser support Three.js application - javascript

I have my application which bases on Three.js library. However, it doesn't run on mobile browser when I used WebGLRender. I checked some application from Mr.doob (http://threejs.org/examples/#webgl_panorama_equirectangular). I wonder whether or not mobile browser support three.js or I missed something to run its application on device?
Tks

According to caniusel.com
WebGL is completely supported by the following mobile browsers
Safari on iOS 8
Blackberry Browser 10
Opera Mobile 22+
Its partially supported(meaning it may or may not work in some cases) by the following browsers.
Chrome for Android 35
Firefox for Android 30
Lastly here is the list of mobile browsers that don't support webGL.
Opera Mini
Android Browser
Blackberry Browser 7
iOS Safari 7 or less
IE Mobile 10
Opera Mobile 11.5 or less

What mobile browser? Chrome and Firefox on Android support WebGL. The native browser doesn't work.

Android native browser now supports webGL / Three.js

Related

Detect browser ClickOnce support with JavaScript

I see that ClickOnce is still supported by Microsoft in Visual Studio 2019 / .NET 5/6.
But installing from the web page is only supported with IE, Edge (not Chromium, where is is disabled by default), or Firefox and Chrome with an unofficial plugin...
Is there a way, with JavaScript, to detect if the current browser support ClickOnce or not ?

is WebRTC using JavaScript available in Android 4(by any means)?

I am trying to make a JavaScript demo of WebRTC work in an Android 4 device.
I have tried using Crosswalk, and following the examples, but getUserMedia would not return video. Are there any examples of a setup working anywhere? By my knowledge, Crosswalk support is available from 4.0(4.1 in newer versions), and there are plugins for WebRTC and getUserMedia so I assumed it would work.
Regarding the exact Android versions, I would like to find out the minimum version possible, with versions 4.4, 4.2.2 and 4.0 being of most importance, but am also interested even if version 4.x is not possible.
Chromium does not support Android 4.0 so CrossWalk decides to do not support Android 4.0 devices after version 20.
You can check this url to see more details.
https://crosswalk-project.org/blog/deprecate-40.html

Can i use sketch.js in mobile browser?

can i use sketch.js in mobile browser? I developing a system using coldfusion and sketch.js. I had tested on desktop browser and it run smoothly. But when i tested on mobile browser, the last sketch of the sketching is unable to get by the sketch.js. So i want to ask, it the sketch.js cannot function well in mobile browser?TQ.
From the sketch.js web site (at the bottom) - http://intridea.github.io/sketch.js/
Compatibility
Sketch.js has been tested on Chrome (OS X), Firefox (OS X), Safari (OS X), Android Browser (Honeycomb 3.1). It suffers significant performance degradation on mobile browsers due to general HTML5 Canvas performance issues.

What version of mobile safari comes with each version of iOS?

I'm trying to figure out what Javascript APIs I can use to achieve support for Mobile Safari back to iOS2. I haven't found a list anywhere that shows what version of Mobile Safari ships with each new version of iOS. I'm looking for a comprehensive list that goes all the way back to iOS2.
Thanks!
[Edit: Yes, I know and love feature detection. However, I have a set of targeted browsers I need to support, and I just need to verify that the fallbacks I provided cover my target audience and that I don't need to provide additional fallbacks that are cumbersome hacks).]
Since this is already the top hit on Google, we should start a list here. I'll make this answer a community wiki. By the way, I'm pulling these from the device's user agent string. Browser version is iOS version dependent, NOT device dependent. But when a phone doesn't support higher iOS versions it is listed:
3.2.2 - Mobile Safari 4.0.4
4.3.3 - Mobile Safari 5.02 - iPhone 3g
5.0 - Mobile Safari 5.1
5.1 - Mobile Safari 5.1
6.0 - Mobile Safari 6.0 - iPhone 3gs
7.1 - Mobile Safari 7.1 - iPhone 4
8.3 - Mobile Safari 8.0
9.2.1 - Mobile Safari 9.0 - iPhone 4s
10.3.4 - Mobile Safari 10.0 - iPhone 5
11.2.5 - Mobile Safari 11.0
12.1.4 - Mobile Safari 12.0
12.4.4 - Mobile Safari 12.1 - iPhone 5S, 6
13.0 - Mobile Safari 13.0
[...] - [...]
15.2 - Mobile Safari 15.2
This guy's list is really useful: http://www.somegeekintn.com/blog/stuff/iosvers/
If you need the additional info, you can decode the Safari versions on useragentstring.com, e.g:
http://www.useragentstring.com/Safari5.0.2_id_18120.php explains that Safari version 6533.18.5 is known as "Safari 5.0.2"
I couldn't find a comprehensive list either. The best thing I've found so far is some Safari documentation from Apple:
https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/OptimizingforSafarioniPhone/OptimizingforSafarioniPhone.html
Good luck!
[Update]
While this still doesn't answer the question it at least tells when WebKit added support for getBoundingClientRect() in Febuary of 2009.
http://trac.webkit.org/changeset/40837
Rather than doing device or os detection, you should be doing feature detection -- it'll provide a much richer experience, and you can provide custom code to add functionality that the specific version doesn't support. This way you'll provide support way beyond the specific devices you're targeting (and it usually ends up being easier since rather than branching your code for a specific user-agent, you're back-filling support for older js implementations by providing forward-looking support on a conditional basis).
For example, the latest version of desktop & mobile Safari do not provide .bind() functionality to bind a context to a closure. This can be detected and handled using Function.prototype.bind and if it doesn't exist, providing an implementation that provides the functionality to older browsers. Using a library like http://www.modernizr.com/ will assist greatly in this endeavor.
That being said there are some specific DOM events which are tied to certain versions of iOS:
http://developer.apple.com/library/safari/navigation/#section=Libraries&topic=Safari%20DOM%20Additions%20for%20iOS
If there are specific API's that you are looking at, caniuse.com is a great resource for finding out how far back the API has support.
Good luck with it!

iOS UIWebView not 100% compatible with Safari on iOS?

i have a nice pageFlip website running fine in Safari-Browser on iPad2. If i now create a UIWebView within my new App and opening the URL to this PageFlip Site within the WebView, the Pages are not displayed the same as in Safari.
Are there known differences between Safari and UIWebView?
The PageFlip Site does a lot of JavaScript, checking the browser and also the screen resolution.
Also some functionality (JavaScript) does not work in UIWebView, but in Safari on the same device.
MadMaxAPP
iOS 4.3 introduced the nitro JS engine to mobile Safari, which uses JIT for increased performance, but for security reasons JIT is disabled for UIWebViews.
My guess would be that UIWebView still runs the pre 4.3 JS engine.

Categories

Resources