So I'm trying to make https://github.com/jamiew/canvasplayer work with local files to make a slide show of some tags on a non wifi enabled raspi. Now, why is it only possible to call the last part of the code like this:
// append the cust <script> tag
var s=document.createElement('script');
s.setAttribute('src','http://000000book.com/data/'+tag_id+'.json?callback=load_gml');
But not like this?
s.setAttribute('src','65509.json?callback=load_gml');
or just calling the load.gml with the json file. that also does not work because i cannot load the local json from my disk. Help?