Cannot load the page when opening YouTube link in HTTPS on stock browser When I try to play YouTube video in Android stock browser, it is showing blank screen.

Log message:

 Blocked URL: [blocked] The page at 'https://m.youtube.com/watch?v=ij_0p_6qTss' was loaded over HTTPS, but displayed insecure content from 'http://...`: this content should also be loaded over HTTPS.


If I try to play the same video with HTTP, it is playing fine. It seems like WebView is blocking redirection from HTTPS to HTTP.

can anyone clarify me how to bypass the error?
I am writing this answer because it may help someone.
I solved this by adding 


  Settings.setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);