Hi I have the licensed Flexpaper product : "FlexPaper_2.2.2_c_customizable_readonly" I need to render a PDF file in HTML5
The Licenskey is added to the JavaScript call below, but i get a error as "Licence key not accepted (incorrect key). Obtain a licence from http://flexpaper.devaldi.com/"
The key is added to the code as guided in the site http://flexpaper.devaldi.com/docs_publishing_html5.jsp
The code is as below:
$('#documentViewer').FlexPaperViewer(
{ config : {
PDFFile : 'pdf/Paper.pdf',
Scale : 0.6,
ZoomTransition : 'easeOut',
ZoomTime : 0.5,
ZoomInterval : 0.1,
FitPageOnLoad : true,
FitWidthOnLoad : false,
FullScreenAsMaxWindow : false,
ProgressiveLoading : false,
MinZoomSize : 0.2,
MaxZoomSize : 5,
SearchMatchAll : false,
RenderingOrder : 'html5,flash',
ViewModeToolsVisible : true,
ZoomToolsVisible : true,
NavToolsVisible : true,
CursorToolsVisible : true,
SearchToolsVisible : true,
Toolbar : toolbarData,
JSONDataType : 'jsonp',
key : '$NINTEEN_CHARACTER_KEY',
localeChain: 'en_US'
}}
Do I need to add the key to the config.xml as well ? If yes how ? Thanks in advance
You need to access the website using a sub domain linked to the domain you registered for the serial key. For example if the domain you registered was example.com, it should work on the test.example.com sub domain or any other sub domain (including the root one).
Another thing that could be causing errors is the fact that you have flash in the rendering order but you never point to a SWF file.