I am trying to embed a tweet into my website through this method.
But I am unable to get it right. This is my HTML markup:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <blockquote class="twitter-tweet" lang="en"> <p lang="en" dir="ltr">Can you answer this? Tem como calcular a diagonal no Canvas? <a href="http://t_.co/E8dD01jGKX">http://t_.co/E8dD01jGKX</a> <a href="https://twitter.com/hashtag/javascript?src=hash">#javascript</a></p> — SO em Português (@StackOverflowPT) <a href="https://twitter.com/StackOverflowPT/status/613791039539806208">June 24, 2015</a></blockquote> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> </body> </html> And all I am seeing in browser is this:

Merely just HTML, not style as Twitter embedded tweet box.
GET file://platform.twitter.com/widgets.js net::ERR_FILE_NOT_FOUND.but if i access the path//platform.twitter.com/widgets.jsin browser i can get to the script file.//platform.twitter.com/widgets.jswithhttp://platform.twitter.com/widgets.js. It will make it work even if it's embedded in the local file (with thefilescheme).