html - 如何修复嵌入的视频全屏按钮在 Wordpress 上不可点击?
问题描述
在 wordpress 帖子中添加了视频嵌入代码:
<iframe src="https://www.example.com/embed-blabla.html" width="640"
height="480" frameborder="0" marginwidth="0" marginheight="0" scrolling="NO"><span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start"></span></iframe>
但是全屏按钮在视频播放器(JW 6)上不起作用(不可点击)。怎么修?
解决方案
您必须在 iframe 标记上添加 allowfullscreen 属性
推荐阅读
- python - 如何在 Pandas 中将字符串列转换为序号?
- laravel - 将参数从 @extends 布局发送到控制器 Laravel
- css - React 导入样式文件的快捷方式
- regex - 正则表达式删除在谷歌表格中留下名字的名字标题
- python - 如何在 Python / Tkinter 文本中添加文本
- python - 旋转具有多列的 pandas 数据框
- laravel - 在 VueJS 中将 laravel 路由作为道具传递时出错
- list - 如何将列表链接到 if else?扑
- selenium - Helper 包通常应该包含哪些类/函数 - Selenium & cucumber
- scala - 重构/组合解码器