+ 2

Is there any workaround to loading external website in an <iframe> in SoloLearn Code Playground?

I'm practicing with HTML <iframe> and got errors when loading external website in Code Playground. The simple code however, loads without any problem in my mobile browser. Is there a workaround to this "issue", or is it one of Code Playground security measures? https://code.sololearn.com/WX5YeGZ4j2lD/?ref=app

30th Aug 2021, 11:05 AM
Ipang
6 ответов
+ 2
No idea... I already deleted the code from sl but maybe i still have it on pc :)
30th Aug 2021, 3:18 PM
Lisa
Lisa - avatar
+ 1
I recently tried iframe and embed on sololearn: On web it would load, in the (Android) it didn't. So there might also be a difference between web version and app...
30th Aug 2021, 12:55 PM
Lisa
Lisa - avatar
0
Rushikesh, Is there any workaround for the code to run in Code Playground, in SoloLearn app or web?
30th Aug 2021, 12:05 PM
Ipang
0
Lisa, Can you share that code here so I can check it on my part? Is <embed> widely supported by browser vendors?
30th Aug 2021, 2:03 PM
Ipang
0
I still had the code on computer. My error looks different from yours. First I get a type error, then it's something about insecure xmlhttprequest endpoint. Locally (firefox) and on web sololearn it loads (takes a moment). https://code.sololearn.com/W9HLfUFj7jd0/?ref=app
30th Aug 2021, 3:47 PM
Lisa
Lisa - avatar