mui.plusReady(function() {
DEFAULT_URL = plus.webview.currentWebview().mb;
(function animationStartedClosure() {
// The offsetParent is not set until the pdf.js iframe or object is visible.
// Waiting for first animation.
PDFViewerApplication.animationStartedPromise = new Promise(
function(resolve) {
window.requestAnimationFrame(resolve);
});
})();
})
pdf的 viewer.js 我已经动态修改了DEFAULT_URL的值了,plusReady里也能正常打印DEFAULT_URL的值,部份安卓机器还是没办法显示pdf