How do I enable embedding a colorless youtube player without adding controls?

I am creating an online experiment. This includes participants who watch the video and then answer the questionnaire. I would like to embed a video without chrome youtube, which automatically plays when the page loads, has no controls for the participants, and loads the next page after the video ends.

Now autoplay / go to next page functions are secondary, and I'm not too worried if I can't get them to work. However, I am very interested in how to integrate the player without chrome. I switched to google playground , but this code already has controls attached. I am not very good at coding, so I don’t know what to remove from the code so that none of the custom controls on the left are displayed. Can anybody help me?

Thanks Wil

+6
google-chrome youtube embed
source share
5 answers

You can see http://code.google.com/apis/youtube/youtube_player_demo.html , which allows you to configure the player so that you can embed it without chrome on your pages.

It should be a simple copy and paste.

+6
source share

When you embed a video, you can use the = 0 controls, which remove the buttons and make them white.

those. the code in your embed section will include http://www.youtube.com/embed/NxLBVAq-4dg?rel=0&controls=0 "

+6
source share

Yes, it is surprising that I did not find a single Youtube page with sample code for my colorless plugin. But there is a lot of jquery plugin that uses the non-chrome plugin. You will find a good tutorial here: http://tutorialzine.com/2010/07/youtube-api-custom-player-jquery-css/

+2
source share

You can use SWF objects to embed your chronicle. You should add this js library to your html:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script> 

then in the main js file you call the embedSWF method:

 var params = { allowScriptAccess: "always" }; var atts = { id: "myytplayer" }; swfobject.embedSWF("http://www.youtube.com/v/FeJkDewhTEw?enablejsapi=1&playerapiid=ytplayer&version=3&controls=0&showinfo=0", "ytapiplayer", "425", "356", "8", null, null, params, atts); 

If you don't want any controls or information, just set the controls = 0 and showinfo = 0 in the URL

See: https://developers.google.com/youtube/js_api_reference#GettingStarted

+1
source share

JW player http://www.longtailvideo.com/players will play youtube videos without youtube branding, I think.

-one
source share

All Articles