Livestream Embed Demonstration

To embed a YouTube livestream on your WordPress site, simply navigate to the live video stream page on YouTube, click the Share button, then select the Embed option. Copy and paste that code into an HTML block on your WordPress platform and it will appear on that page.

Here is a sample YouTube livestream you can use to test it out:
https://youtube.com/live/X9kyi4U8ct4?feature=share

Below is an example of the Embed code you can use to copy onto your site as test.

<iframe width=”1280″ height=”720″ src=”https://www.youtube.com/embed/X9kyi4U8ct4?si=UtPDVLj-VV9aqBe3″ title=”YouTube video player” frameborder=”0″ allow=”accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share” referrerpolicy=”strict-origin-when-cross-origin” allowfullscreen></iframe>

Note: adjust the width and height parameter to suit your needs. You may want to have various media queries in your CSS to optimize for mobile, or if you are using a builder like Elementor just remember to optimize a couple of different HTML blocks for Desktop and Mobile views.

Eg: Desktop Version: width=”1280″ height=”720″ | Mobile version: width=”384″ height=”216″