hongsongw / flexpaper

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

JSON loading issue #276

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. json url - 
http://s3.amazonaws.com/inxo-bizlive-enterprise-rep/hr24_maternity_leave_v2.pdf.
js
2. loading error.

What is the expected output? What do you see instead?
Should load this json file but couldn't load

alert box with this message "Error loading JSON file (error). Please check your 
configuration."

What version of the product are you using? On what operating system?
Flexpaper adaptive UI 1.4.5 on Ubuntu 11.10

Please provide any additional information below.

Original issue reported on code.google.com by sushil.k...@inxero.com on 7 May 2012 at 9:27

GoogleCodeExporter commented 9 years ago
AdaptiveUI does not support loading from other domains at the moment, this will 
be corrected in the upcoming build

Original comment by erik.eng...@devaldi.com on 7 May 2012 at 10:27

GoogleCodeExporter commented 9 years ago
Thank you Erik - when is the next build scheduled?

Original comment by anand....@inxero.com on 9 May 2012 at 7:44

GoogleCodeExporter commented 9 years ago
This has been fixed in our latest build. Please pass the following parameter in 
order to use JSONP instead of JSON which allows loading from other domains than 
where the viewer is located;

JSONDataType : "jsonp",

Please see our PHP example of how to serve JSONP 

Original comment by erik.eng...@devaldi.com on 24 May 2012 at 7:18

GoogleCodeExporter commented 9 years ago
Thanks Erik, Json file is loading properly but player unables to load the 
document png file and continue showing the load publication. Please guide me if 
there a way to load document image from other domains. 

Original comment by sushil.k...@inxero.com on 27 Aug 2012 at 8:45