views:

789

answers:

3

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

+2  A: 

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.

Kinlan
Thanks for the recommendation, but unfortunately it does not generate embed code for the chromeless player! The link to google code playground above is my focus. If anyone knows what to remove from this code to get rid of the player controls on the right, then I'd be really grateful!wil
ndthl
did you click in the top right and select chromeless and then click update embed code.... that will generate what you need.
Kinlan
A: 

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

jmoz
A: 

Yes, surprisingly, I did'nt find any Youtube page with sample code for their chromeless plugin. But there is a lot of of jquery plugin which use the chromeless plugin. You'l find a good tutorial here : http://tutorialzine.com/2010/07/youtube-api-custom-player-jquery-css/

Matthieu