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.
October 20, This update contains the following changes: The disablekb parameter definition has been corrected to note that the default value is 0 , which means that keyboard controls are enabled. December 18, European Union EU laws require that certain disclosures must be given to and consents obtained from end users in the EU.
July 18, The new hl parameter can be used to set the player's interface language. May 10, This update contains the following changes: YouTube no longer identifies experimental API features and services. Click the Share button. It's below the video's bottom-right corner.
The button has a curved arrow on it. Options for sharing the video will expand. It's the first icon under "Share a link" and contains two angled brackets. This displays the embed code for the video. Choose your embedding options. The video will start playing from the beginning by default. If you chose a different starting point, check the box next to "Start at. To display player controls such as the ability to pause or skip ahead on the embedded video, check the box next to "Show player controls.
Click the COPY link. It's at the bottom-right corner of the window. This copies the embed code to your clipboard. Open up your webpage's HTML editor. HTML is a type of code used to build websites, and the embed code on YouTube is designed to insert into the code and display the video without any changes.
Many blogging websites let you insert the video directly into the post as well without changing your website's code. Blog Posts: Begin a new post. In the toolbar above the post, click the "HTML" link or similar.
This will display the code of your post but will keep your website's code intact. 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. If the creator specifically requires you to ask for permission before doing anything with the video, you might want to go ahead and do just that. Finally, we get to the embedding options since YouTube does provide these choices in order to customize the effects of the video.
You can set the privacy-enhanced mode of the video, which will make sure that visitors will not be datamined by YouTube unless they click on the video.
You can also set the video to play automatically if you wanted. You can also set the time when the video will start playing, which is useful is the video is really long and you only wanted to show certain segments.
Lastly, you can fiddle with the captions that come with the video by adding your own. This would make things a lot better for those who need captions to understand the context of the video. Embed twitter widget on your website or blog to create fun and add some interaction to your website.
Twitter widgets can be user timeline, search, list and favorites. Embed twitter widget on your website by signing in to your twitter account and look for the appropriate button on the settings. Twitter has millions of active users worldwide. It is the best place for marketing and advertising. Millions of videos are being viewed on facebook everyday.
Embed facebook video on your website and increase your number of followers and viewers. Engagement on embed facebook video on your website to widen your reach worldwide. Embedding facebook video is very easy. Just follow simple instructions like copy and paste and you are ready to go. How well do you know your VLC shortcuts? These shortcuts enable you to have a better viewing and streaming experience. To go a step further, you can try our latest YouTube widget and embed a YouTube playlist on your website.
Dance is the Content Marketing Manager at EmbedSocial, responsible for planning, creating, and sharing valuable content about social media marketing, and online reputation. By Dance Azmanova 21 Sep Monday. One of the ways to increase your YouTube audience is by showing them on your website. By doing this, you can have all your YouTube videos displayed on a website page. But, this option is more for websites.
At the moment, the platform provides advanced moderation settings in the feed builder and a variety of layouts and widgets, such as: YouTube carousel widget YouTube slider widget YouTube slideshow widget YouTubeslideshow widget without thumbnails YouTube slideshow widget with vertical thumbnails YouTube Feed 4 different widgets YouTube masonry widget YouTube grid widget So, if you want to embed a YouTube channel widget, just follow the steps explained in the next section. Great work! You now have the necessary code to embed your YouTube widget on your website.
How great is that, right?
0コメント