WebGL Support | Sololearn: Learn to code for FREE!


WebGL Support

Hi, I don't know if there's a place for requesting these kind of things, but is there a chance to add web gl support to the sololearn app? I'm reseaeching with three.js and although it works just fine in my smartphone browser, the app throws a web gl incompatibility error.

4/11/2018 5:26:43 PM

German Pais

5 Answers

New Answer


I don't think it's the playground's fault. Mobiles usually don't support WebGL... The browser you use probably uses plugins to override builtin webview limitations...


Not sure what you're asking, but here: https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial/Getting_started_with_WebGL


Unfortunately, SoloLearn's Code Playground has to be severely limited in what it can do because of security and resource issues. As you can imagine, if we were allowed to create anything via SoloLearn, then you would have people from all over the world creating malicious software. Being able to easily share out malicious software to the public is a really bad thing, so necessary steps have to be taken to protect your users. As such, everything is sent to their server to be compiled/ran and you're simply fed back the output.


Jakob Marley - oh, I'm sorry, sometimes the UI confuses me... I posted a question without a question, lol Thanks for your answer, anyway.


I mean, yeah, I understand security issues (it suprised me at first to be even able of loading jquery, to be honest), but my point is... why I can use web gl in my sololearn's playground via mobile browser, but not via app. I'm still on my mobile, it just depends the way I get to the playground.