mo4islona / node-blockly

Blockly for Node.js and Browser via CommonJS module
133 stars 81 forks source link

static files from server #27

Closed zfan40 closed 5 years ago

zfan40 commented 6 years ago

I noticed some references from https://blockly-demo.appspot.com/static/media/ including files such as click.mp3, disconnect.wav, delete.mp3, sprites.png

I am wondering if these can be transformed to base64, so that every project could parse them... Yes, some corner of this world cannot connect to blockly-demo.appspot.com by default... Thanks

mo4islona commented 5 years ago

You can configure media URL and load audio from local server. Check media property in Blockly.inject method https://developers.google.com/blockly/guides/get-started/web