Inserting a YouTube Player

We can use a Google Gadget to insert a YouTube Player. The Gadget use IFrame API to construct the player. According to the YouTube Player API Reference for <iframe> Embeds : The IFrame player API lets you embed a YouTube video player on your website and control the player using JavaScript. This approach allows YouTube to serve an HTML5 player rather than a Flash player for mobile devices (iPad) that do not support Flash.



URL of the Gadget 






Parameters of the Gadget





Video : Id of the Video from YouTube, BEH6KN13Kkg for example

Size : Pixels, 223 x 142, 320 x 240, 420 x 315, 425 x 264, 480 x 295, 480 x 360, 560 x 345, 560 x 315, 640 x 360, 640 x 385, 640 x 480, 848 x 500, 853 x 480, 960 x 720, 1280 x 720, 1440 x 1080, 1920 x 1080

Quality : Small, Medium, Large, HD720, HD1080, HD. Quality are available depending on bandwidth, type of Video and size of the Player (Flash version only)

Skin : Dark or Light
Cursor : Color of Cursor, Red or White

Full : Allow full screen, Yes or No
Videosim : Display similar videos at the end, Yes or No
Auto : Start when the page is loaded, Yes or No (Flash version only)
Control : Visible, Without, Small (small cursor during play)

BCOL : Color of border, #rrggbb or transparent
CCOL : Color of container, #rrggbb or transparent



Examples using YouTube Video Gadget




Wine tasting of Château de Châtagneréaz 2010, Swiss Wine. Light skin, cursor red, border red, high quality, size 848 x 500. Controls are always visible.


URL de spécification du gadget introuvable




Pressing Grapes, he old fashion way. Dark skin, cursor white, border red, small quality, size 480 x 295. Controls Small.

URL de spécification du gadget introuvable




Discover the swiss Landscapes (Lavaux et Château de Chatagneréaz). Dark skin, cursor white, no border, very high quality, size 848 x 500, without controls when the video is playing.

URL de spécification du gadget introuvable






Displaying  the thumbnails of a Video





http://img.youtube.com/vi/BEH6KN13Kkg/default.jpg

BEH6KN13Kkg is the ID of the video



YouTube - Tasting Wine YouTube -  Pressing Grapes the Old Fashioned Way YouTube - Wines from  switzerland



Displaying picture of a Video






https://ytimg.googleusercontent.com/vi/BEH6KN13Kkg/0.jpg 

BEH6KN13Kkg is the ID of the video




YouTube - Tasting Wine YouTube - Wines from  switzerland






More informations







URL de spécification du gadget introuvable


URL de spécification du gadget introuvable




Find a Wine with Google CSE

URL de spécification du gadget introuvable