Load multiple projects in one json file.
20 March 2015 20:54
Hi!
I'm reading b4w_manual_en.pdf And have some problem in Page 25 <5.3.1 Example>.
This's my json file:
{
name : "test",
items : [{
name : "test1",
load_file : "test1.json"
}, {
name : "test2",
load_file : "test2.json"
}
]
}
# those json files have been tested individually.
Chrome console error:
"""
SyntaxError: Unexpected token n (parsing JSON ../assets.json?t=25022015102923)webplayer.min.js?v=15.02:70 a.errorwebplayer.min.js?v=15.02:506
h.onreadystatechange
"""
Thanks for you help!
I'm reading b4w_manual_en.pdf And have some problem in Page 25 <5.3.1 Example>.
This's my json file:
{
name : "test",
items : [{
name : "test1",
load_file : "test1.json"
}, {
name : "test2",
load_file : "test2.json"
}
]
}
# those json files have been tested individually.
Chrome console error:
"""
SyntaxError: Unexpected token n (parsing JSON ../assets.json?t=25022015102923)webplayer.min.js?v=15.02:70 a.errorwebplayer.min.js?v=15.02:506
h.onreadystatechange
"""
Thanks for you help!
20 March 2015 21:21
Hi,
the assets.json file is supposed to be loaded with the scene viewer, not the web player. These are different apps.
the assets.json file is supposed to be loaded with the scene viewer, not the web player. These are different apps.