How To Do WordPress Live Streaming
Table of Contents
WordPress is one of the most popular content management systems (CMS) today. The WordPress platform was originally created for blogs but has expanded much further. In fact, 30% of the top 10 million sites on the web use WordPress—including ours! This post will look at how to stream live video on a WordPress website.
Specifically, we’re going to look at two main topics:
- How to embed a live stream on a WordPress-based site
- How to embed a video-on-demand on a WordPress site
Live streaming is exploding in popularity. It’s rapidly displacing TV and is now the central medium of mass communication for much of the world. Hours viewing online video grew 114% in Q1 2018 compared to the same time the previous year.
Let’s jump into our main topic now: how to live stream on a WordPress website
How to live stream on a WordPress website
Getting started with a live stream on your website requires three main things:
- Admin access to the WordPress website;
- An account with video live streaming solution such as Dacast; and
- Live streaming equipment for the live stream itself, set up and connected to your live streaming service.
Getting your embed code
The first step in how to live stream on a WordPress website is to go to the online video platform that is hosting your video content and find the embed code. This is usually in the video or live channel settings. For Dacast, here’s how it works.
First, log in to your Dacast account. Then click “Live Channels” for a list of your channels. Click to select the live channel that you want to share on your WordPress site.
WordPress “code editor”
Next, log in to your WordPress site. In the dashboard, navigate to the “post” or “page” that you want to embed the live stream on.</p> <p>Embedding the live video into your WordPress site requires that you switch views in post or page creation from “Visual” to “Text.” This is the same procedure you would use to insert any other HTML code. The screenshot shows how this process looks in modern WordPress 5+ installations.</p> <p>After this, it’s a matter of copy and paste. Simply find the location in your page you want to insert the <a href="/news/new-upgraded-dacast-default-video-player/" class="dacast-link">video player</a>. Create a paragraph break where you want the streaming video to appear. Then, paste the code you copied there.</p> <p>The code should appear something like this:</p> <pre><script id="xxxxx_x_xxxxx" width="640" height="360" src="//player.castncarry.com/js/player.js" class="cnc-saas-vid"></script></pre> <p>Note that the code view can be hard to read, but simply paying close attention should allow you to determine where to place the block. And you can always move it if it’s in the wrong place. Also, note that on older versions of WordPress, if you haven’t updated in a while, called this mode “HTML” rather than “Text” mode.</p> <p>Now save and publish your page/post, and you’re ready to go!</p> <h2>Custom video player settings</h2> <p>Now we’ve learned the basic procedure for how to live stream on a WordPress website: just copy and paste the embedding code. At this point, the video player will appear in the WordPress page/post you embedded the code on. Note that the video player will be blank until you start streaming—unless you start with a <a href="/support/knowledgebase/thumbnail-and-splash-screen-walkthrough/" class="dacast-link">custom splash screen</a> or something similar.</p> <p>However, there are some more <a href="/support/knowledgebase/how-to-create-a-player-theme-in-the-backoffice/" class="dacast-link">customizations</a> you can do to tweak the video player and embedding.</p> <p><img loading="lazy" class="wp-image-17877 size-full alignright" src="https://www.dacast.com/wp-content/uploads/2016/11/a.jpg" alt="Customer Video Player" width="300" height="200">Some settings of your video player can be customized manually after you paste the code in. This can be tricky for beginners, but the process is relatively simple. If you’re not comfortable tweaking code, the default settings work fine for most purposes.</p> <p>We also recommend you create a good web page around your embedded video. The embedding code is the heart of the process, but plenty of other functions can be added around it. This also allows you to promote your video by directing viewers to your usual web site, with which they may already be familiar, instead of to a new and unfamiliar location. We recommend that you:</p> <ul><li>Describe the content thoroughly</li> <li>Providing links and additional information to readers</li> <li>Making “next actions” (buy, sign up, follow, etc.) simple and clear</li> </ul><h3>Countdown timers</h3> <p>Another possibility is to set up a <a href="/support/knowledgebase/new-how-to-set-up-a-live-countdown-on-your-livestream/" target="_blank" rel="noopener noreferrer" class="dacast-link">countdown timer</a>. Using a countdown creates anticipation and makes it obvious to viewers exactly when your live stream will begin. This can be done via the default Dacast video player. Displaying this timer on your site makes a useful part of your pre-event promotion.</p> <h2>How to embed a video-on-demand</h2> <p>The process for embedding a video-on-demand, or a pre-recorded video, is similar. In fact, it’s almost exactly the same. The only difference is that you need to grab the JS embed code of the specific video you want to embed. Otherwise, you’ll follow the same process.</p> <ol><li>Visit the Dacast backend</li> <li>Navigate to the video you want to embed</li> <li>Click “publish settings,” then copy the JS embed code</li> <li>Visit your WordPress website and navigate to the page or post you want to embed the video on</li> <li>Switch to code view, then find the specific location you want to embed the video on that page</li> <li>Create a line break, and paste in your code</li> <li>Save and publish the post/page, and you’re ready to go!</li> </ol><h2>Conclusion</h2> <p>There’s a good reason why WordPress is just about the most popular web page building CMS. It’s both highly versatile and user-friendly. Hopefully, we’ve answered the question, “How to live stream on a WordPress website” at this point. Embedding live video streams to a WordPress page is easy to do and lets you connect your video with other content and features that you set up on your page. It gives you added options compared to using the hosting service alone.</p> <p>A pivotal element in this is the live streaming delivery platform. Here at Dacast, we provide professional live streaming and on-demand <a href="/blog/intro-to-pro-video-hosting-solutions/" class="dacast-link">video hosting solutions</a>. Plus, we offer monetization, mobile SDKs, security, analytics, low-latency streaming, <a href="https://akamai.com" target="_blank" rel="noopener noreferrer" class="dacast-link">Akamai delivery</a>, and a range of other tools.</p> <p>Dacast offers a 30-day free trial so you can test our streaming solutions for yourself! <strong>Sign up today to enjoy free streaming for 30 days </strong>(no credit card required):</p> <p style="text-align: left;"><a class="dacast-btn dacast-btn--primary" href="/signup/">YES, SIGN ME UP</a> </p> <p>For more regular tips on live streaming and exclusive offers, we also invite you to join our <strong><a href="https://www.linkedin.com/groups/6629370" target="_blank" rel="noopener noreferrer" class="dacast-link">LinkedIn group.</a> </strong>Thanks for reading, and good luck with your decision-making process!</p> <p> </p> <p> </p> </body>
Stay up to date with our latest features and product releases