All parameters below are optional. In the list admitted to any YouTube embedded player parameters are shown. If all players are not compatible with a particular parameter, the definition of that parameter identifies the players that are. Note that these parameters are officially compatible only with the built-in player; however, it is possible that a subset of them also compatible with other players, such as player playlists.
Values: 2 (default), 1 and 0. This parameter indicates whether controls are automatically hidden video when playback begins. In the default behavior autohide = 2), the progress bar disappears and the player controls (Play button, volume control, etc.) remain visibles.Si the parameter is set to 1, the progress bar and controls player hides some seconds after the video starts playing. To display again, the user must move the mouse cursor over the video player or press a key on the keyboard. If the parameter is set to 0, the video progress bar and video player controls are visible for all playback and full screen.
Values: 0 or 1. The default value is 0. Defines if the initial video when the player loads automatically or not play.
Values: 1. The default value is based on user preferences. If set to 1, closed captioning is displayed by default, even if the user has disabled the subtitles.
This parameter specifies the color used on the player progress bar to highlight the amount of video and seen by the user. Valid values for this parameter are red and white. By default, the video progress bar uses red color. Check the blog YouTube API for more information about the color choices. Note: Setting the color parameter disables white modestbranding option.
Values: 0, 1 or 2. The default is 1. This parameter indicates whether or not to show the video player controls. IFrame additions for loading a Flash player, also define when the controls on the player are displayed and loaded when the latter: controls = 0: Player controls are not displayed on the player. For IFrame embeds the Flash player load immediately. controls = 1: The player controls are displayed on the player. For IFrame embeds, the controls are displayed immediately and the Flash player loads in the same way. controls = 2: The player controls are displayed on the player. For IFrame embeds, the controls and Flash player is charged after the user starts playing the video shown. Note: It is expected that the values of the parameter 1 and 2 provide an identical user experience, but controls = 2 provides a performance improvement over controls = 1 for additions IFrame. Currently, the two values still produce some visual differences in the player, as the size of the source video title. However, when the difference between the two values is completely obvious to the user, the default parameter value can change from 1 to 2.
Values: 0 or 1. The default value is 0. Set the value to 1 disables the keyboard controls the player. The keyboard controls are as follows: Spacebar: play / pause. Left arrow: back 10% in the current video. Right arrow: move 10% in the current video. Up arrow: allows increase the volume. Down arrow: lets down the volume.
Values: a positive integer. This parameter specifies the time, measured in seconds from the start of the video, in which the player must stop playing the video. Note that the time is measured from the beginning of the video and not considering the start parameter of the player or the startSeconds parameter, used in the API functions YouTube player to load a video or queue it.
Values: 0 or 1. The default is 1, which makes the full screen button appears. Setting this parameter to 0 prevents the full screen button is displayed.
Sets the language of the player interface. The parameter value is a language code ISO 639-1 two letter, but also other codes can properly handle input language, such as IETF language tags (BCP 47). The interface language is used for tooltips on the player and also affects the default subtitle track. Keep in mind that YouTube could select a different language subtitle track for a particular user based on their individual preferences and availability of language subtitle tracks.
Values: 1 or 3. The default value is 1. A value of 1 enables video annotations are displayed by default, while the value 3 allows video annotations are not displayed by default.
The parameter list next to listType parameter identifies the content to be loaded into the player. If the value of parameter is listType search, list the value of the parameter specifies the search query. If the value of parameter is user_uploads listType, the value of the parameter list identifies the YouTube channel whose uploaded videos will be uploaded. If the value of parameter is listType playlist, list the value of the parameter specifies an ID of the YouTube playlist. In the parameter value, you need to prefix the ID of the playlist with the letters PL as shown in the following example. http://www.youtube.com/embed?listType=playlist&list=PLC77007E23FF423C6 Note: If you specify the values for the list and listType parameters, it is not necessary that the IFrame URL incorporated specify a video ID.
The listType parameter, next to the parameter list identifies the content being loaded into the player. Parameter values are valid playlist, search and user_uploads. If you specify the values for the list and listType parameters, it is not necessary that the IFrame URL incorporated specify a video ID.
Values: 0 or 1. The default value is 0. If there is only a video player and a value of 1 is set, the player will play the initial video again and again. In the case of a player playlists (or custom player), the player plays the entire playlist and then start playing the first video again. Note: The compatibility of this parameter is limited in AS3 player and the IFrame additions that could load the AS3 player or HTML5 player. loopsolo parameter currently works with the AS3 player when used by the playlist parameter. To play a single video loop, loop sets the value of parameter to 1 and sets the value of parámetroplaylist in the same video ID specified in the URL of the API player: http://www.youtube.com/ v / VIDEO_ID? version = 3 & loop = 1 & playlist = VIDEO_ID
This parameter allows you to use a YouTube player without a YouTube logo is displayed. Sets the parameter value to 1 to prevent the YouTube logo in the control bar is displayed. Note that still show a small label YouTube in the upper right corner of a video paused when the user’s mouse cursor hovers over the player.
This parameter delivers an additional security measure for the IFrame API and is compatible only with IFrame additions. If you are using IFrame API, which means that you set the value of enablejsapi parameter to 1, you should always specify your domain as the value parameter of origin.
The value is a comma separated list of ID videos to play list. If you specify a value, the first video played is one whose identification (VIDEO_ID) is specified in the path of the URL. The videos parameter specified in the playlist are played back later.
Values: 0 or 1. The default value is 1. This parameter indicates whether the player should show videos related to end playback of the initial video.
The parameter controls whether interspersed videos play full screen or in a HTML5 player for iOS. Valid values are: 0: This value makes the reproduction is in full screen. This value is currently the default, but is subject to change. 1: This value makes interleaved UIWebViews reproduction that was created with the propiedadallowsInlineMediaPlayback is set to TRUE.
Values: 0 or 1. The default parameter value is 1. If the parameter value is set to 0, the player does not display information such as the video title or the uploader before starting playback. If the player is loading a playlist and the parameter value is explicitly set to 1, the player displays thumbnail images of the videos from the playlist when loaded. Note that this feature is compatible only with the AS3 player because it is the only player that can load a playlist.
Values: a positive integer. This parameter allows the player to start playing the video at the exact number of seconds provided from the beginning of the video. Note that, similar to the seekTo function, the player searches the closest to the specified time frame. This means that sometimes playback starts just before the requested time, with a margin of about two seconds.
This parameter indicates whether the built-in player shows the player controls (like the play button or volume control) with a bar of dark or light control. Valid parameter values are dark and light. By default, the player displays the player controls using the theme dark. Check the blog YouTube API for more information about the dark and light themes.