0
、私は問題を抱えている、 はapp.Thisワン>https://github.com/legalthings/angular-pdfjs-viewerアクセス制御 - 許可 - 起源
This is my error, im trying to read a pdf of antoher domain
にPDFビューアを実装します$のSCEが、そのdoesntの仕事を使用してみてください
私のコントローラ機能:{
function ViewerCustomController($scope,$sce) {
var vm = this;
var trustPDF = $sce.trustAsResourceUrl('http://www.pdf995.com/samples/pdf.pdf');
$scope.pdf = {
src: trustPDF,
}
}
CORSにjhipsterする方法を知っていたり、Access-Control-Allow-Originがplzを知ってくれているという許可を与えてくれたら、ありがとう。
モバイルアプリケーションの[PDF.JSのアクセス制御可能なオリジナルの問題](http://stackoverflow.com/questions/24952810/pdf-js-in-mobile-apps-access-control-allow) -origin-issue) –