The code is now in your clipboard, ready to be pasted into your website. This action depends on the platform you want to embed the code in. In other words, you have 2 options:. Important: Take a breath… EmbedSocial integrates and works with all platforms that provide an option to embed third-party iframes or javascript codes. Note for use of a shortcode: If you want to use a shortcode, just follow the same steps, and instead of Custom HTML choose the Shortcode block where you can paste the provided shortcode located just below the main javascript of your YouTube feed widget.
With these unique YouTube widget options, we promise you that you will stand out from your competitors and offer a more unique experience for your users. So, if you need more help, here is a video for detailed instructions. Just click the play button below and our amazing Customer Success team will guide you through the process. You deserve your visitors to enjoy your website. The following parameters are supported in the AS2 player but have been deprecated for the newer AS3 and HTML5 players: border , color1 , color2 , egm , hd , and showsearch.
Currently, the loop parameter only works in the AS3 player when used in conjunction with the playlist parameter. Though some parameters are not supported in both players, an IFrame embed that loads the AS3 player will support all parameters that work with that player and ignore all other parameters.
Similarly, an IFrame embed that loads the HTML5 player will support all parameters that work with that player while ignoring all other parameters. The parameter list has been updated to include the autohide parameter, which indicates whether the player's video controls will automatically hide after a video begins playing.
The parameter list has been updated to include the controls parameter, which indicates whether the player's video controls will display at all.
Player controls do display by default. The parameter list has been updated to include the playlist parameter, which specifies a comma-separated list of video IDs to play.
The definition of the fs has been updated to note that the fullscreen option will not work if you load the YouTube player into another SWF. The example at the end of the document has been updated to use the embedded AS3 player instead of the embedded AS2 player. The parameters used in the example have also been updated to only include parameters that the AS3 player supports.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4. For details, see the Google Developers Site Policies. Reference Samples Support. Overview This document explains how to embed a YouTube player in your application and also defines the parameters that are available in the YouTube embedded player.
Embed a YouTube player You can use any of the following methods to embed a YouTube player in your application and specify player parameters. Loading a playlist Set the listType player parameter to playlist. Parameters autoplay This parameter specifies whether the initial video will automatically start to play when the player loads. Supported values are 0 or 1.
The default value is 0. If you enable Autoplay, playback will occur without any user interaction with the player; playback data collection and sharing will therefore occur upon page load. Set the parameter's value to an ISO two-letter language code. The default behavior is based on user preference. Valid parameter values are red and white , and, by default, the player uses the color red in the video progress bar.
Note: Setting the color parameter to white will disable the modestbranding option. The default value is 0 , which means that keyboard controls are enabled. The default value is 0 , which means that the player cannot be controlled using that API. Note that the time is measured from the beginning of the video and not from either the value of the start player parameter or the startSeconds parameter, which is used in YouTube Player API functions for loading or queueing a video.
The default value is 1 , which causes the fullscreen button to display. The parameter value is an ISO two-letter language code or a fully specified locale. For example, fr and fr-ca are both valid values. Note that YouTube might select a different caption track language for a particular user based on the user's individual language preferences and the availability of caption tracks. The default value is 1. October 15, The autoplay parameter definition has been updated to explain that if you enable Autoplay, playback will occur without any user interaction with the player; playback data collection and sharing will therefore occur upon page load.
October 13, Note: This is a deprecation announcement for the embedded player functionality that lets you configure the player to load search results. The behavior for the rel parameter is changing on or after September 25, The effect of the change is that you will not be able to disable related videos.
However, you will have the option of specifying that the related videos shown in the player should be from the same channel as the video that was just played. To be more specific: Prior to the change, if the parameter's value is set to 0 , then the player does not show related videos. After the change, if the rel parameter is set to 0 , the player will show related videos that are from the same channel as the video that was just played.
The showinfo parameter, which indicates whether the player should display information like the video title and uploader before the video starts playing, is also being deprecated. Following the change, the channel avatar and video title will always display before playback begins, when playback is paused, and when playback ends.
The avatar being displayed is new behavior that will be consistent across all embedded players. September 15, The controls parameter's definition has been updated to remove references to the deprecated Flash AS3 player. November 1, This document has been updated to remove references to the deprecated Flash AS3 player as well as to parameters only supported by that player.
Find where you want your video in the HTML. Since any words your typed will be displayed in the HTML, you can use the text to determine where in the page your video will go.
For example, if I wrote a post that says "Check out my new video:" those exact words will appear somewhere in the HTML code. Make space for your video. Once you've found where you want the video, click in between the surrounding code and hit the space bar. Be sure to put your embed code outside of a pre-existing line of code. Paste the video code where you want the video to go.
Publish your changes. Click Save changes , Publish , or Post or something similar to save your post with the embedded code.
Look over your post and make sure the video is where you want it to be. Alternatively, embed videos on social media with the "Share" function. If you only want to post the video to Facebook, Twitter , Pinterest, or Tumblr, you can simply click on the appropriate icon in the "Share" window below the video. YouTube will prompt you to log into your social media account and automatically embed the video for you. Method 2. You'll need to be using YouTube on a computer to get the embed code for your playlist.
Click the Library link. It's in the left panel. Your playlists are in the "Playlists" section. Open a text editor. Paste the embedding code template into the text editor. Copy the Playlist ID from your browser's address bar. In the address bar at the top of your browser, you'll see a URL that looks similar to this: youtube.
Paste the Playlist ID into the embedding code. If any extraneous spaces appear, remove them. Copy the embed code to the clipboard. Make space for the videos. Paste the embed code where the playlist should appear. Save and publish your changes. Print Tweet Share on Facebook Was this helpful? Comments 0.
Add a public comment to this FAQ Entry. Related Topics. Chat with the Rasmussen Library. Submit a Question. Submit Your Question Question. Rasmussen Email Address so we can send you a response!
0コメント