7/9/2023 0 Comments Videolightbox start stop timeSo think of it as a last resort after you’ve tried the other ways. You also have more control over how your video appears with this method if you’re happy editing code.īut be aware – embedding videos in this way can conflict with your theme and mess up the formatting of your content. There’s another way to embed YouTube videos into your posts and pages that’s a little more technical but it can be an alternative to try if standard embeds aren’t working. You can also use this method to embed videos from other sites. WordPress will create a YouTube block displaying the video. Paste the YouTube URL you copied earlier in the field that pops up and press enter. Step 2: Find the WordPress video blockĬlick the + icon and type “video” in the resulting pop-up to find the video block Step 3: Create a video blockĬlick the “Video” option to create a video block. Step 1: Copy the YouTube URLĬopy the YouTube URL from your browser address bar or from the YouTube “Share” pop-up, exactly as the previous two methods started. There’s no reason to use this block over the YouTube video block, but if you have an existing self-hosted video or video from another site that you want to change to a YouTube video, you can edit the block to insert the YouTube URL instead. You can also use the WordPress video block to embed YouTube videos in your posts and pages. Step 3: Paste the YouTube URLĬlick where it says “Enter URL to embed here…” and press CTRL-P/Command-P or right-click and select “Paste” to paste the URL into the YouTube block and click the “Embed” button.Īfter the video has been embedded, you’ll see how it will look in your content. Or, if you prefer working completely via your keyboard rather than clicking your mouse or trackpad you can type “/” to bring up a list of common blocks, use your arrow keys to scroll through to the YouTube option and press enter to create the YouTube block. You may have to search for it if it’s not immediately visible. You can either click the + icon, which will bring up a pop-up where you can browse for or search for a block type.Ĭlick the “YouTube” option to create a YouTube block. There are two ways to add a new block to your WordPress content. This method starts in exactly the same way as the copy-and-paste method: Copy the URL of the video you want to embed from the URL bar in your browser or the YouTube “Share” pop-up. The second way to embed a YouTube video in a WordPress post is by creating a YouTube block yourself. WordPress will detect that you’ve pasted in a YouTube video link and will automatically convert it into a YouTube block. Click where it says “Start writing or type / to choose a block” and press CTRL-P/Command-P or right-click and select “Paste”. Once you’ve copied the video URL, it’s simply a case of pasting it into your content. This will add a parameter to the URL to start it at the time you’re paused at. Then tick the box next to “Start at 2:18” (or whatever time you paused the video) before you click “COPY” to copy the link. Just pause the video at the place you want it to start before you click the Share link to bring up a pop-up with sharing options. Handy tip: if you use the link from the YouTube Share pop-up, you can choose to start your embedded YouTube video at a particular timestamp. How to Embed a YouTube Video in WordPress Starting at a Specific Time There’s also an “Embed” option but you can ignore this for now. A pop-up will appear with the URL and links for sharing on social media. You can also scroll down to just under the video and click the “Share” link. The easiest way to do this is by selecting the entire URL in your browser address bar and pressing CTRL+C on a PC or Command+C on a Mac (or by right-clicking/clicking with 2 fingers to bring up the contextual menu and selecting “Copy”. If you’re using the WordPress block editor, it will automatically detect that you’ve pasted in a video link and will convert it into the appropriate block. We’ll start with the simplest method, which involves simply pasting the YouTube video URL into your content. Method 1: Using Cut and Paste to Embed YouTube Videos
0 Comments
Leave a Reply. |