can't get Html5 running …

117 views
Skip to first unread message

daniel koening

unread,
Jul 8, 2013, 6:13:35 PM7/8/13
to flex...@googlegroups.com

hey there,

strange! SWF and all is running well, but i can't get just simple HTML4/5 running … don't know why,
AFAIK, just specify the pdf url and there you go but nothing happends, if i change to "flash" or have flash installed, it falls bacl to flash as it should. but i need HTML runing for IOS : (

or and the doc file etc is 777 any tips? maybe the permissons?

cheers & thank you!
daniel


below is my code: 



<div id="documentViewer" class="" style="position:absolute;top:20px;left:180px;width:700px;height:480px;display:block"></div>

<script type="text/javascript">
$('#documentViewer').FlexPaperViewer(
{ config : {
  SWFFile : '{docs/RP_AVuLB_WEB.pdf_[*,0].swf,4}',
                    IMGFiles : 'png2jpeg.php?path=RP_AVuLB_WEB.pdf_{page}.png',
                    JSONFile : 'docs/RP_AVuLB_WEB.pdf_{page}.js',
                    PDFFile : 'docs/RP_AVuLB_WEB.pdf',
                    ThumbIMGFiles : 'docs/RP_AVuLB_WEB.pdf_{page}_thumb.png',
                    HighResIMGFiles : 'png2jpeg.php?path=RP_AVuLB_WEB.pdf_{page}_highres.png&sector={sector}',
                    Scale : 0.6,
              ZoomTransition : 'easeOut',
                    ZoomTime : 0.5,
                    ZoomInterval : 0.1,
                    FitPageOnLoad : true,
                    FitWidthOnLoad : false,
                    AutoAdjustPrintSize : true,
                    PrintPaperAsBitmap : false,
                    FullScreenAsMaxWindow : false,
                    ProgressiveLoading : false,
                    MinZoomSize : 0.3,
                    MaxZoomSize : 5,
                    SearchMatchAll : true,
                    InitViewMode : 'Zine',
                    RenderingOrder : 'html5,Flash',
                    StartAtPage : 1,
 
                    ViewModeToolsVisible : true,
                    ZoomToolsVisible : true,
                    NavToolsVisible : true,
                    CursorToolsVisible : true,
                    SearchToolsVisible : true,

BackgroundColor : '#FFFFFF', 
PanelColor : '#CCCCCC',
EnableCornerDragging : true,

 
UIConfig : 'UIConfig_RP_AVuLB_WEB.pdf.xml?r88374',
WMode : 'transparent',
 
key : 'XYZ',
localeChain: 'de_DE'
}}
 );
</script>


this is in my <head>

<link rel="stylesheet" href="css/style2.css?v=1">
<link rel="stylesheet" href="css/slimbox2.css">
<link rel="stylesheet" href="css/flexpaper.css" />

<script type="text/javascript" src="js/libs/modernizr-1.6.min.js"></script>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.extensions.min.js"></script>
<script type="text/javascript" src="js/flexpaper.js"></script>
<script type="text/javascript" src="js/flexpaper_handlers.js"></script>
<script type="text/javascript" src="js/flexpaper_flash.js"></script>
<script type="text/javascript" src="js/slimbox2.js"></script>



Reply all
Reply to author
Forward
0 new messages