

4- Embed a YouTube video in a widget area After you’ve finished configuring your preferences, copy and paste the WordPress shortcode onto the page where you want your videos to appear. The additional options on this page will allow you to customize your channel’s display options. With the aid of a YouTube plugin like your channel, you can achieve this.Īfter you’ve installed and enabled the Your Channel plugin, go to “ Settings” and then “your channel” to customize it.Įnter your YouTube API, as well as your channel ID or username, here.

If you’ve saved the video to your media library, go to “ Media Library” and find the video you want to use.You may upload a video, add one from your media library, or paste a URL into this box.Find and pick “ Video” under the content block options while you’re on the page.Go to the page or post where you wish the video to appear.(Note: if you include the video in your Media files, it will remain on your website.) Click “ Add new” in the “ Media” section of your WordPress dashboard menu.I have some fantastic news for you if you’ve switched your WordPress site from the Classic editor to the Gutenberg editor.Īdding a media file to your WordPress account is another approach to embed a YouTube video. There are several different embed options, as you’ll see below, depending on the sort of video material you want to embed, how you want it to show, and whether or not you want to embed your complete YouTube channel. The following are some of the most frequent methods for embedding YouTube videos in WordPress. There are various ways to do every task using WordPress, as there are with most things. 6 ways you can embed a YouTube video in WordPress In addition, there are built-in tools for effortlessly embedding movies into your WordPress site. Alternatively, you may use the bundled Visual Composer to create your layout. Hundreds of templates are available with this theme. Its near-limitless capacity to change layouts and display material in a variety of ways allows you to bring your website to life. By default, only the autoplay attribute is added to the embed-URL.Another WordPress video theme worth checking out is Soledad. In addition to the shortcode attributes, there is a filter available that allows you to add more parameters to the embed-URL. Start video at a specific time (value in seconds): start="24"Įxample Shortcode with shortcode attributes: Instead videos from your channel will be shown. Since September 2018, hiding related videos is no longer possible. There are attributes available to add parameters to the embed-URL that’s dynamically generated from the video link provided in the shortcode. Trigger Element Example (Link): Play Video

UsageĮxample Shortcode to display a YouTube video lightbox: Įxample Shortcode to display a Vimeo video lightbox: ĬSS class that needs to be added to the element you want to open/trigger the video lightbox: wp-video-popup The WordPress video lightbox is fully responsive and adjusts to the device width & height the video is viewed on. With WP Video Lightbox the video is only being loaded by the click on the trigger element for the maximum performance & fast loading speeds.

Page Speed & PerformanceĮmbedding YouTube or Vimeo videos can slow down your website. No connection to YouTube or Vimeo is established before the trigger element has been clicked. To the element you wish to open/trigger the lightbox. To open the lightbox, simply add the CSS-class wp-video-popup In your post, page, custom post type or template file to add a responsive YouTube or Vimeo video lightbox to your WordPress website. WP Video Popup lets you add a responsive YouTube or Vimeo video lightbox to any page, post or custom post type of your website.Īdd beautiful, minimalistic video lightbox popups to your WordPress website with just a few clicks & without sacrificing performance. Descrizione The best WordPress Video Lightbox Plugin!
