如何在 vimeo 中激活全屏标志,在 iframe 中激活 youtube 视频
How to activate full screen flag in vimeo, youtube video in iframe
我有一个包含 vimeo 视频的 iframe 如何激活该视频中的全屏标志
这是包含视频的 iframe HTML。
<iframe width="500" height="281" frameborder="0" src="https://player.vimeo.com/video/155984146?color=ececec&title=0&byline=0&portrait=0;"></iframe>
您好,您必须在 iframe 上允许全屏显示。
只需将 webkitallowfullscreen mozallowfullscreen allowfullscreen 添加到您的 iframe
<iframe width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen src="https://player.vimeo.com/video/155984146?color=ececec&title=0&byline=0&portrait=0;"></iframe>
只需使用
allowfullscreen="allowfullscreen" mozallowfullscreen="mozallowfullscreen" msallowfullscreen="msallowfullscreen" oallowfullscreen="oallowfullscreen" webkitallowfullscreen="webkitallowfullscreen"
在你的iframe标签下就会变成这样
<iframe width="500" height="281" src="https://player.vimeo.com/video/155984146" allowfullscreen="allowfullscreen" mozallowfullscreen="mozallowfullscreen" msallowfullscreen="msallowfullscreen" oallowfullscreen="oallowfullscreen" webkitallowfullscreen="webkitallowfullscreen"> </iframe>
我有一个包含 vimeo 视频的 iframe 如何激活该视频中的全屏标志
这是包含视频的 iframe HTML。
<iframe width="500" height="281" frameborder="0" src="https://player.vimeo.com/video/155984146?color=ececec&title=0&byline=0&portrait=0;"></iframe>
您好,您必须在 iframe 上允许全屏显示。
只需将 webkitallowfullscreen mozallowfullscreen allowfullscreen 添加到您的 iframe
<iframe width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen src="https://player.vimeo.com/video/155984146?color=ececec&title=0&byline=0&portrait=0;"></iframe>
只需使用
allowfullscreen="allowfullscreen" mozallowfullscreen="mozallowfullscreen" msallowfullscreen="msallowfullscreen" oallowfullscreen="oallowfullscreen" webkitallowfullscreen="webkitallowfullscreen"
在你的iframe标签下就会变成这样
<iframe width="500" height="281" src="https://player.vimeo.com/video/155984146" allowfullscreen="allowfullscreen" mozallowfullscreen="mozallowfullscreen" msallowfullscreen="msallowfullscreen" oallowfullscreen="oallowfullscreen" webkitallowfullscreen="webkitallowfullscreen"> </iframe>