I am developing a web app and trying to embed a wolfram widget for testing.
<!DOCTYPE html>
<html>
<body>
<script type="text/javascript" id="WolframAlphaScript3157277c6aec4dcfcddc3245834347ad" src="//www.wolframalpha.com/widget/widget.jsp?id=3157277c6aec4dcfcddc3245834347ad&output=iframeOpenExpand"></script>
</body>
</html>
I wrote this HTML and opened it locally, but after 20 seconds I get the error:
GET file://www.wolframalpha.com/widget/widget.jsp?id=3157277c6aec4dcfcddc3245834347ad&output=iframeOpenExpand net::ERRFILENOT_FOUND
Does my page have to be hosted online for this to work? How can I get around this?