jquery - Not able to use cloudfront URL with flexpaper -
i using flexpaper classic trial version accepts swf files display documents in rails web application.
i have content available on s3 within private distibution, can accessible using cloudfront signed urls. when provide url flexplayer, example :
$('#documentviewer').flexpaperviewer( { config : { swffile : "http://d2qpwcrmsdq67g.cloudfront.net/172/ebooks/1357d6f7c32e68f27caf63b84085bd22.swf?expires=1416463422&signature=signature&key-pair-id=key-pair-id", scale : 0.6, zoomtransition : 'easeout', zoomtime : 0.5, zoominterval : 0.1, fitpageonload : false, fitwidthonload : false, printenabled : false, fullscreenasmaxwindow : false, progressiveloading : true, minzoomsize : 0.2, maxzoomsize : 5, searchmatchall : false, renderingorder : 'flash', viewmodetoolsvisible : false, zoomtoolsvisible : false, navtoolsvisible : false, cursortoolsvisible : false, searchtoolsvisible : false, wmode : 'window', localechain: 'en_us' }} );
it search crossdomain.xml can't found cloudfront uses default crossdomain.xml can't overriden. therefore following error on browser console.
failed load resource: server responded status of 403 (forbidden) http://d2qpwcrmsdq67g.cloudfront.net/crossdomain.xml
is there way can use cloudfront url flexpaper.
any appreciated.
Comments
Post a Comment