我想在html页面中显示嵌入的pdf。问题在于chrome这个数据uri在chrome中看起来不像pdf嵌入文档,在mozilla-firefox中这种麻烦不会发生。
的字符串 '数据:应用/ PDF; BASE64,JVBERi0xLjQKJeLjz9MKNCAwIG9iago8PAovVHlwZSAvRXh0R1N0YXRlCi9PUE0gMQo + PgplbmRvYmoKNSAwIG9iago8PAovU3VidHlwZSAvSW1hZ2UKL0NvbG9yU3BhY2UgL0RldmljZVJHQgovV2lkdGggMjM2Ci9IZWlnaHQgMTc1Ci9CaXRzUGVyQ29tcG9uZW50IDgKL0ZpbHRlciAvRENURGVjb2RlCi9MZW5ndGggMjMwMTYKPj4Kc3RyZWFtCv / Y / + 4ADkFkb2JlAGQAAAAAAf / bAEMAAgICAgICAgICAgMDAgMEBgQEAwMEBwUGBAYJCAkJCQgICAoLDgwKCg0KCAgMEAwNDg8PEA8JDBESEQ8SDg8PD // // bAEMBAwMDBAMEBwQEBw8KCAoPDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PDw8PD AABEIAK8A7AMB' ...(长度= 3043772)
感谢您的帮助。