javascript - 如何使用 jquery 制作全屏 iframe 视频

标签 javascript jquery html iframe

帮我解决一下。我想用 jquery 制作全屏视频方式(allowfullscreen)。请帮助我该怎么做。 这是我的 iframe 视频代码

<iframe frameborder="0" height="275" 
src="https://www.youtube.com/embed/tum8KtULX7M" width="100%"></iframe>

 <iframe frameborder="0" height="275" 
 src="https://www.youtube.com/embed/RtdT8Tjaehg" width="100%"></iframe>

  <iframe frameborder="0" height="275" 
   src="https://www.youtube.com/embed/tbXhvBUKN_Y" width="100%"></iframe>


   </div>

请检查一下。非常感谢您提前。

最佳答案

尝试一次:

<iframe frameborder="0" height="100%" 
src="https://www.youtube.com/embed/tum8KtULX7M" width="100%"></iframe>

 <iframe frameborder="0" height="100%" 
 src="https://www.youtube.com/embed/RtdT8Tjaehg" width="100%"></iframe>

 <iframe frameborder="0" height="100%" 
   src="https://www.youtube.com/embed/tbXhvBUKN_Y" width="100%"></iframe>
</div>

关于javascript - 如何使用 jquery 制作全屏 iframe 视频,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52096602/

相关文章:

javascript - 如何在js全年日历中选择范围并添加事件

JavaScript 放在顶部还是底部?

javascript - 寻找更好的 JavaScript/CSS 开关

javascript - Vue.js 什么时候不会渲染 &lt;input&gt; ?

ajax - 让 jQuery TipTip 能够处理 ajax 加载的内容

PHP:在表中显示来自mysql数据库的数据

html - Bootstrap 进度条标签未对齐

javascript - 在搜索框选项卡之间单击时,如何使它们保持事件状态?

javascript - 使用 Websocket 的 Web 应用程序虚拟控制台

javascript - 使用 jQuery 按字母顺序对选项元素进行排序