renciso218 / blockly

Automatically exported from code.google.com/p/blockly
0 stars 0 forks source link

how to run the demos? #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.open chrome
2.try to run any example
3.nothing works

What is the command line to open chrome to get these examples working?

I am trying:
chromium-browser --allow-file-access --allow-file-access-from-files 
google-blockly-read-only/demos/index.html

When i click on run program nothing happens, and i see this error in the 
javascript console:

Uncaught ReferenceError: Audio is not defined
index.html:65Uncaught ReferenceError: Blockly is not defined
index.html:54Uncaught ReferenceError: Blockly is not defined
Resource interpreted as Image but transferred with MIME type 
image/x-win-bitmap: 
"file:///home/brett/google-blockly-read-only/media/handopen.cur".
Resource interpreted as Image but transferred with MIME type 
image/x-win-bitmap: 
"file:///home/brett/google-blockly-read-only/media/handclosed.cur".
index.html:65Uncaught ReferenceError: Blockly is not defined
index.html:54Uncaught ReferenceError: Blockly is not defined

Original issue reported on code.google.com by goatman.py@gmail.com on 14 Jun 2012 at 1:50

GoogleCodeExporter commented 8 years ago
Based on your console log, your copy of Chrome doesn't know about the 'Audio' 
tag.  Odd.  I've pushed a new version which checks to see if 'Audio' exists 
before trying to use it.  Try the demo again and reopen this bug if the problem 
persists.

Thanks for letting us know!

Original comment by neil.fra...@gmail.com on 15 Jun 2012 at 5:24