因此,我已将以下属性添加到嵌入到我们的开源事件静态网站上的iframe中:
<iframe class="hidden-iframe" data-src="{{presentation_url}}" width="100%" height="500" frameborder="0" marginwidth=" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" marginwidth="5" marginheight="5" scrolling="auto" id="presentation-iframe"></iframe>
已在 Firefox 中添加了一个选项,可以在全屏模式下打开嵌入式PDF,但是我正努力寻找一种方法来针对 Chrome / Chromium ?
任何帮助将不胜感激!
BR,
凯尔
编辑:如果其他任何人都在努力使用上述属性来使其正常运行,Pdf.js似乎支持此功能。