我正在开发一个html5应用程序,我有一个部分有youtube的视频..在iOS上运行良好,因此在全屏幕上打开但在Android上没有。
我的代码是:
<iframe width="100%" height="200%" src="https://www.youtube.com/embed/VwHa2ARYIdA?autoplay=0&showinfo=0&controls=0" allowfullscreen="allowfullscreen"></iframe>
有帮助吗?
试试这个:
<iframe width='100%' height='200%' src='https://www.youtube.com/embed/VwHa2ARYIdA?autoplay=0&showinfo=0&controls=0' allowfullscreen ></iframe>
这个对我有用...