title: Is the browser used in Android and iOS so different?
body: <p>I'm developing an android application and a colleague of mine is developing the same application for iOS. In this application is needed to load a 360 panorama which is located on internet. In the iOS application, a HTML5 string is used to wrap the URL of the panorama and the WebView loads it normally when I used the same String in an Android WebView, the url won't open. So my question is are the webiews between these two OS so different? should I enable some settings of my webview? I'll post you the code and the string just in case you can make something out of it.Thank you in advance</p>
  
  <pre><code>    webView2.getSettings().setJavaScriptEnabled(true);
      webView2.getSettings().setDomStorageEnabled(true);
  String target = "&lt;html&gt;
                   &lt;head&gt; 
                   &lt;style type=\"text/css\"&gt;
                   iframe {position:absolute; }
                   body {background-color:#000; margin:0;} 
                  &lt;/style&gt; 
                  &lt;/head&gt;  
                  &lt;body&gt;
                  &lt;iframe width=\"100%%\" height=\"100%%\" 
                  src=\"%http://360photo.gr/panorama/ipad/antalki/antalki_2.html\" frameborder=\"0\" allowfullscreen&gt;&lt;/iframe&gt;        &lt;/body&gt;        &lt;/html&gt;" ;
  </code></pre>
  
  <p>I might be messing the String somewhere and haven't noticed this is the String that works in iOS</p>
  
  <pre><code>    NSString *videoHTML = [NSString stringWithFormat:@"\
                         &lt;html&gt;\
                         &lt;head&gt;\
                         &lt;style type=\"text/css\"&gt;\
                         iframe {position:absolute; }\
                         body {background-color:#000; margin:0;}\
                         &lt;/style&gt;\
                         &lt;/head&gt;\
                         &lt;body&gt;\
                         &lt;iframe width=\"100%%\" height=\"100%%\" src=\"%@\" frameborder=\"0\" allowfullscreen&gt;&lt;/iframe&gt;\
                         &lt;/body&gt;\
                         &lt;/html&gt;", self.urlToPlay];
  </code></pre>
  
  <p>And this is how I load the Data:</p>
  
  <pre><code>webView2.loadData(target, "text/html", null);
  </code></pre>