如何在没有添加控件的情况下嵌入youtube chromeless播放器? [英] How do I go about embedding a youtube chromeless player without adding controls?

查看:113
本文介绍了如何在没有添加控件的情况下嵌入youtube chromeless播放器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个在线实验。它涉及参与者观看视频,然后回答问卷。我想嵌入一个可在页面加载时自动播放的无铬YouTube视频,没有控制让参与者随意播放,并在视频播放结束后加载下一页。

现在自动播放/转发到下一页功能是次要的,如果我无法让它们工作,我不会太担心。不过,我对如何嵌入无铬球员非常感兴趣。我已转到谷歌游乐场,但此代码已有连接的控件。我在编码方面不是很有经验,所以我不知道要从左侧的任何自定义控件的代码中删除什么才能显示。任何人都可以帮助我?



感谢,Wil

您可能想查看 http://code.google.com/apis/youtube/youtube_player_demo .html ,它允许你配置你的播放器,以便你可以在你的页面上嵌入它。



它应该是一个简单的复制和粘贴。 / p>

I am creating an online experiment. It involves participants watching a video then answering a questionnaire. I would like to embed a chromeless youtube video which plays automatically on page load, does not have controls for participants to play around with, and loads the next page once the video finishes.

Now the autoplay/forward to next page functions are secondary and I'm not too concerned if I can't get them working. However I am very interested in how to embed a chromeless player. I have gone to the google playground but this code already has the controls attached. I am not very experienced at coding so I do not know what to remove from the code for none of the custom controls on the left to be displayed. Is anyone able to help me?

Thanks, Wil

解决方案

You may want to look at http://code.google.com/apis/youtube/youtube_player_demo.html it allows you configure your player so that you can embed it chrome-less on your pages.

It should be a simple copy and paste.

这篇关于如何在没有添加控件的情况下嵌入youtube chromeless播放器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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