Youtube嵌入视频自动播放 [英] Youtube Embed videos autoplay

查看:839
本文介绍了Youtube嵌入视频自动播放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个iframe,用于将频道视频嵌入到html页面。该网页用于数字标牌,因此没有人可以导航。我的问题是,尽管我使用了& autoplay = 1 ,但该频道的视频无法自动开始播放。
这是代码:

I've an iframe which I use to embed the videos of a channel to an html page. This web page is used for digital signage so no one will be able to navigate. My problem is that the videos of the channel don't start automatically although I used &autoplay=1. Here is the code:

<iframe width="480" height="480" src="http://www.youtube.com/embed?listType=user_uploads&list=NBA&loop=1&autoplay=1&rel=0&showinfo=0&controls=0&autohide=1" frameborder="0" allowfullscreen></iframe>

谢谢。

推荐答案

尝试使用它,

我在这里注意到错误, embed / video_id 不是找到

mistake i noticed here, embed/video_id was not found

<iframe width="480" height="480" src="http://www.youtube.com/embed/eF5fRl3BMTY?listType=user_uploads&list=NBA&loop=1&autoplay=1&rel=0&showinfo=0&controls=0&autohide=1" frameborder="0" allowfullscreen></iframe>

这篇关于Youtube嵌入视频自动播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆