如何在不添加控件的情况下嵌入

如何在不添加控件的情况下嵌入

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

问题描述

我正在创建一个在线实验.它涉及参与者观看视频然后回答问卷.我想嵌入一个 chromeless youtube 视频,该视频在页面加载时自动播放,没有供参与者玩耍的控件,并在视频完成后加载下一页.

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.

现在自动播放/转发到下一页功能是次要的,如果我不能让它们工作,我不太担心.但是,我对如何嵌入 Chromeless 播放器非常感兴趣.我已经去了 google 游乐场,但这段代码已经有了附带的控件.我在编码方面不是很有经验,所以我不知道要从代码中删除什么,以便左侧没有显示任何自定义控件.有人能帮我吗?

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?

谢谢,威尔

推荐答案

您可能需要查看 http://code.google.com/apis/youtube/youtube_player_demo.html 它允许您配置您的播放器,以便您可以将它嵌入到您的网页中.

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 无浏览器播放器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 11:39