How To Customize Youtube Embed Player? (Learn to use youtube parameters)

   Share it:
Youtube embed player can be highly customized with the parameters that google provide on their developers site. These parameters are simply to use and does not require any coding skills. Here are the list of youtube parameters and learn to use them easily. Take a look at our previous post on the top 5 ways to customize youtube embed player. Use our Advanced Youtube Embed Code generator to generate heavily customized youtube embed player quick and easy.

Things To Have

Structure Of Youtube URL In Embed Code

Before explaining the different parameters of youtube,let me first explain how the youtube url looks like in the embed code and what are its components. Take a look at the below image to understand the components of a youtube url.
Structure of youtube url-How To Customize Youtube Embed Player? (Learn to use youtube parameters)
Image showing the structure of youtube url in an embed code
As you can see,the first parameter starts with a question mark ( ? ) sign and the next parameters starts with an ampersand sign ( & ).

YouTube Parameters


SI No.
Parameter
Values
Description
1.
autohide
  • autohide=2(default)
  • autohide=1
  • autohide=0

  • (2)Progress bar fades out,controls remains visible
  • (1)Progress bar&controls fades out in seconds.
  • (0)Both remains visible throughout the video.

2.
autoplay
  • autoplay=0(default)
  • autoplay=1

  • (0)Play video on click
  • (1)Play automatically

3.
color
  • color=white
  • color=red

  • Display white color in progress bar
  • Display red color in progress bar

4.
controls
  • controls=0
  • controls=1(default)
  • controls=2

  • (0)Hide controls throughout video
  • (1)Shows controls
  • (2)Shows controls once user initiates video playback.

5.
showinfo
  • showinfo=0
  • showinfo=1(default)

  • (0)Hides title bar
  • (1)Shows title bar

6.
theme
  • theme=light
  • theme=dark(default)

  • Shows a light colored  player with grey controls
  • Shows a dark player with black conrols

7.
disablekb
  • disablekb=0(default)
  • disablekb=1

  • (0)Controls accessible via keyboard
  • (1)Keyboard controls disabled

8.
modestbranding
  • modestbranding=1 

  • Use this value to hide the youtube logo in controls.

9.
  • start
  • #t=(Don't use ? or & before this parameter.Add right after video id)

  •  start=70
It starts playing at 1m10s
  • #t=1m30s

  • Start a video at a specific time.Provide the value in seconds and make sure not to add s for seconds for the start parameter.


10.
rel
  • rel=1(default)
  • rel=0 

  • (1) Shows related videos at the end
  • Hides related videos at the end

11.
iv_load_policy
  •  iv_load_policy=1(deafult)
  • iv_load_policy=3

  • (1)Shows video annotations
  • (3)Hides video annotations

12.
loop
  • loop=1
  • loop=0(default)

  • (1)Plays video repeatedly
  • (0)Plays video just once
Limited compatibility

13.
cc_load_policy
  • cc_load_policy=1

  • Shows captions even if user has turned caption off.

14.
cc_lang_pref
  • cc_lang_pref=

  • Set the language to load for the caption. It should be in two variable. eg:fr,en
For list of all languages's two letter indication visit here.

15.
end
  • end=

  • Sets the time to stop playing video. Time is calculated from the beginning of the video. Give values in seconds.
Example: end=70 (Stops at 1m10s)


For a detailed list of all supported youtube parameters visit this link.

If you have doubts on this topic please leave a comment. Reward our time and effort by clicking on the  Google+ recommend button.