You need to read all the information in
this[
^] page. One thing you haven't mentioned here - did you deply this to a server, or were you just attempting to run this from the .html file directly on your machine with no webserver inolvement? If you were attempting the direct method, this is your problem - it needs to be hosted from a web server.