html - 使用 API 关闭分享/稍后观看 youtube 视频
问题描述
已经提出的类似问题,但当 youtube 视频在后台自动播放时,我找不到删除每个按钮(共享副本)的解决方案。你能帮忙看看哪些参数丢失了,哪些是不必要的
function onYouTubePlayerAPIReady() {
player = new YT.Player('ytplayer', {
width: '100%',
height: '100%',
videoId: 'orQFFE7cVDw',
playerVars: {
'autoplay': 1,
'showinfo': 0,
'autohide': 1,
'mute': 1,
'loop': 1,
'controls': 0,
'modestbranding': 1,
'disablekb': 1,
'fs': 0,
'rel': 0,
'cc_load_policy': 0,
'iv_load_policy': 3,
'playsinline': 1,
'vq': 'hd1080'
},
events: {
'onReady': onPlayerReady,
'onStateChange': onPlayerStateChange
}
});
解决方案
推荐阅读
- regex - 谷歌表格搜索和两个列表中的总和
- javascript - 自动计算动态添加和删除行的总和 - jquery
- jenkins - 在 Jenkins 构建 Azure DevOps 工件源中的包期间,Nuget 还原返回 401 未经授权
- java-8 - Spring Reactor Set 组合成一个 Set
- php - 使用 jquery AJAX 和 PHP 创建特殊的 JSON 文件
- java - 关于 Java 接口的一般问题
- cryptography - 用重复键和计数器打破异或
- r - 如何在 R 中将附加参数(存储在“...”中)传递给 parLapply 的多个核心?
- macos - 在支持早期版本 Mac 的 Macos 10.14.5 上使用 gcc 编译
- service-worker - 如何在.net core 3中将启动类添加到工作服务模板