How to Embed Live Streaming Video on Your Website [2022 Update]

By Harmonie Duhamel

34 Min Read

banner image featured
author avatar

Harmonie Duhamel

Harmonie is a Senior digital marketer with over 6 years in the Tech Industry. She has a strong marketing and sales background and loves to work in multilingual environments.

    Nearly 44% of people watch less live TV because they are instead watching live streams online. And over 80% of audiences prefer to watch a live video over reading a blog.

    So if you want to connect with a modern audience, you need to be broadcasting live.

    And your website is one of the top places to do it. That means it’s now essential for you to learn how to embed a live video into your website.

    Adding videos to your website allows your viewers to connect directly with your content from your website without having to go through a social media channel to view your virtual live events. It allows viewers more direct access to your content and keeps them on your platform for longer.

    Ready to learn the process? Keep reading as we share insights into what video embedding is and how you can embed videos to integrate live video streaming on your website.

    *This post reflects the most up-to-date information as of September 2022.

    Table of Contents

    • What is Video Embedding?
    • Benefits of Embedding a Video on Your Website
    • The Importance of Video Content on Your Website
    • How Does Video Embedding Work?
    • How to Embed Live Streaming Video on Your Website
    • How to Embed Live Videos on Popular Website Builders
    • How to Embed a Video Player on Social Media
    • Embedding Video for Mobile Devices and Desktops
    • Top 3 Mistakes To Avoid When Embedding Live Streaming Video in Your Website
    • Conclusion

    What is Video Embedding?

    what is video embedding
    Embedding videos from a hosting platform as opposed to Youtube or another free streaming service gives you more control over your content.

    Video embedding means adding a live stream or a video player to your website using an online video platform. For many websites or social media platforms, it is as simple as copy and pasting a link.

    You can use free tools like YouTube to embed videos on your website. However, such free tools carry limitations for embedding live video content on your website, making them not the best solution for video embedding. 

    A few drawbacks to using YouTube for live stream hosting and embedding: 

    • Lost Traffic: YouTube pulls traffic from your site and back to YouTube through the related videos shown at the end of the video. YouTube isn’t designed to keep viewers on your website.
    • Unprofessional Appearance: YouTube has its branding on the overlays and watermarks, and any video embedded from YouTube to your website is going to have a “Watch on YouTube button”. Your branding is not featured at all. 
    • No Customer Support: YouTube’s customer support is almost non-existent, so if a live stream link doesn’t work, you will have to troubleshoot on your own.  
    • Arbitrary Rules: YouTube has arbitrary content guidelines, meaning if YouTube decides they don’t like your content or message, they can delete it from your YouTube channel and your website via the YouTube embed link.
    • Advertisements: YouTube has the right to run advertisements on any of its video content. You don’t control the advertisements that run on your content.

    Using professional video hosting platforms gives you much more control over your content. Since you own the content, you can remove the host’s branding. You also don’t have to worry about following any of Youtube’s strict guidelines or about your content being deleted without your permission.

    Video embedding is fairly easy as long as your website design is compatible with the type of streaming you want to set up. You can easily embed live streaming videos directly on your website.

    Benefits of Embedding a Video on Your Website 

    There are two primary ways to place videos on your website or on a landing page. You can either link or embed videos. 

    When you embed a video on your website, visitors can watch it without leaving the page they are on. 

    When you link a video on a website, visitors must click on the link, which will redirect them to the page where the video is hosted. 

    There are distinct advantages from both a user experience and SEO standpoint to embedding videos instead of linking to them: 

    • Optimized Viewing Experience: You can optimize the video for online viewing with an embed code. You can adjust the video’s frame size, height, and width to ensure optimal viewing on your website. 
    • Customize Start Time: You can customize the video’s start time with an embedded code. This allows you to direct viewers to a specific start time within your video content. 
    • Keep Users on Your Site: When you embed a video, instead of linking to another site, you keep viewers on your website. This is especially true if you use a private video hosting service instead of a free video hosting platform to embed your videos. 
    • Help SEO: If you want to improve your search engine optimization, embedding videos is one of the best ways to achieve this goal. It is easier to rank when you have both text and video on your website. 
    • Increase Engagement: People like to watch videos; adding videos directly to your website allows for increased user engagement directly on your website. 

    Instead of linking to videos hosted on other sites, embedding videos allows you to create a custom video experience, keep viewers on your website, increase direct engagement, and assist with your SEO.

    The Importance of Video Content for Your Website

    Before learning how to embed video on your website, it is important to understand the value of live video content for your business. 

    1. Marketing: Video is one of the primary online marketing tools. In fact,  71% of B2B businesses and 61% of B2C businesses use videos as a marketing tool. 87% of marketers that use marketing videos report an increase in website traffic due to the use of video content hence it offers a great ROI. 
    2. Video Increases SEO Ranking: Regarding SEO rankings, video content is 50x more likely to rank than text posts. Putting text and video content together is a great way to improve the rankings of your web pages. 
    3. Video Boosts Engagement: 9 out of 10 viewers actually want to see more videos from the brands and businesses that they engage with. The average person spends around 100 minutes per day watching videos online. 
    4. Video Has Higher Retention Rates: As compared to written content (10-20% retention rates), visual content, such as videos, has a much higher retention rate (65%). Videos also have a higher impact, especially if you use them to show off your brand’s personality or testimonials.
    5. Video Is What the People Want: A HubSpot report showed that approximately 53% of people want websites to include more video content. It’s especially important for eCommerce business websites because around 88% of customers claim that they buy products because the video convinces them to do so.

    Interested in more information on the state of online video streaming? Read our streaming statistics post to learn about current online streaming trends.

    How Does Video Embedding Work?

    Video embedding works by adding a snippet of code, which is referred to as an “embed code,” from your video hosting platform to the code of your website. It allows you to integrate and set up live streaming video on your website.

    To set up an embedded video player, Dacast’s video hosting software generates two types of embed codes: iFrame and JS. Which one you choose depends on your unique streaming setup.

    JS Embed Code

    The JS embed code is the default embed code for Dacast, and it supports the most features. This includes being responsive if the elements are sized differently on the video hosting platform than on the website. It also works with referrer restriction features. 

    iFrame Embed Code

    The iFrame embed code is the most universally compatible. The caveat is that some features do not work with it. This embed code is not responsive, which means it’s a fixed size.

    The full-screen feature is also sometimes removed. This usually happens only if you are using iFrames within iFrames. Additionally, the URL-based referrer restriction feature does not work with the iframe embed.

    The JS embed code is more responsive; however, the iFrame embed code is more universally compatible. 

    How to Embed Live Streaming Video on Your Website

    How to Embed Live Streaming Video
    Embedding videos on your site can be done without any proficiency in coding.

    It is not difficult to embed live streaming video on your website, but it does require a few different tools and a little bit of know-how. 

    Let’s look at how you can embed a video player on your website in 5 simple steps. These steps are the same for embedding live video or video-on-demand content. 

    1. Choose a Live Streaming Platform

    The first step in embedding a live video on your website is investing in a live streaming platform. This tool is used to manage and host all of your video content. Many of these platforms also support monetization, security, and more.

    Some of the top live streaming platforms include:

    Again, YouTube and Vimeo are two free alternatives. These options are very limited in terms of features and capabilities, but they can be helpful for broadcasters with limited budgets.

    Using a professional live streaming platform offers some distinct advantages, such as: 

    For more information on choosing a platform to host your stream, please check out our live streaming platform comparison post.

    2. Create a Live Channel

    Once you’ve chosen a professional live streaming platform it is time to create a live channel.

    To do so in Dacast:

    • Click the purple “Add +” button in the menu on the left.
    • Select “Live Stream”
    • When the window pops up, add a title and select “Standard” as your stream type.
    • Click “Create.”

    Now you have created a live channel on Dacast to host your live stream. You need to create a live channel before you can create an embed code that you can use on your website. 

    3. Generate an Embed Code

    Platforms like Dacast allows you to manually embed streaming content on your website by providing the embed codes that you need to make this possible.

    Dacast makes it exceptionally easy for users to create embedded players on their sites and broadcast live video streams.

    STEP 1: To get started, log in to your Dacast account. Find the video you want to embed and click the “Edit” button:

    embed stream - iframe.dacast

    STEP 2: Navigate to the “Sharing” section under the “General” tab and copy the “Embed Code”: 

    JavaScript (JS) embed code

    There are two types of embed codes available: JS (Javascript) and iframe. We recommend using the JS embed code because it’s more universally compatible with the full-screen feature.

    The JS embed code is also a requirement in order for the URL referral restriction feature to work (which restricts content based on the websites allowed to host it). That said, the iFrame embed code is more compatible with and/or required for some frameworks, including WordPress and WIX.

    STEP 3: Once you have selected your embed code type, the last thing you have to do is insert it into your website. It will not look the same for everybody, but assuming you have access to edit at the HTML level. it will look something like this:

    iframe.dacast.com code

    If you go to the “General” tab and navigate to “Sharing,” you will also see a “Share Link” option.

    This is not an embed code but a link that will allow you to share directly with viewers or to your social networks. The link will direct viewers to a page with a video player where they can watch your video; it will not direct them to your website. 

    If you have any questions about video embed or need help with this Dacast feature, feel free to contact us directly.

    4. Paste the Embed Code

    Find the place on your site where you’d like to embed the video player. Open the HTML editor, and paste the embed code that you copied from your OVP.

    Preview the changes to make sure the code is working properly.

    Using domain restrictions or signed embed codes, you can also share videos privately to ensure that your videos are only accessible on websites you own. This feature is available with many professional video CMS platforms, protecting your content even when you use a third-party platform.

    5. Save Your Changes

    Save the changes, and publish the page or post you’ve edited. Again, test out the live site to make sure that your embedded video player has correctly set up.

    It is a good idea to test run live streams before your broadcast is expected to start.

    Now you know how to use Dacast to embed live streaming video directly on your website. 

    How to Embed Streaming Video on Popular Website Builders

    You can embed videos on your website quite easily if you are using a drag-and-drop website builder. Embedding videos on platforms like Wix, Weebly, WordPress, or Yola only takes a few steps.

    Here are step-by-step instructions on how to embed live streaming video on popular website-building platforms.

    1. Wix

    Embed Streaming Video to wix cms
    Wix is one of the most basic drag-and-drop website building platforms, but you can get plugins and upgrades for further customization.

    Wix is a website-building platform that is used by many people who take a DIY approach to create their websites.

    Let’s talk about how to embed a live streaming video on Wix. You can embed a video on your site with just a few simple steps.

    1. Click the Wix App Market icon on the left side of the editor
    2. In the app search, type “HTML embed”
    3. Click “Add to Site”
    4. Click on the HTML app 
    5. From the pop-up menu, click “Settings”
    6. Under “Mode” choose “HTML Code”
    7. Under “HTML/Embed Code,” paste the code that you generated on Dacast
    8. Click “Update”

    Take a look at the published site to make sure the Wix Livestream looks how it is supposed to. That is how you stream live video to your website if you use Wix.

    2. Weebly

    Weebly cms embed
    Weebly makes embedding videos quite simple.

    This platform is widely used because you can build either a website or an online store with the same website builder.

    It has a drag-and-drop editor, which makes it a great option for all levels of users and busy individuals. Since it has a clean and responsive interface, you can use it to build different types of websites, such as personal portfolios, news, and business websites.

    Here’s how to embed a video in Weebly:

    • Log into your Weebly website backend
    • Click on the “build” tab from the top menu
    • Find the “embed code” option from the left-hand side navigation
    • Drag and drop the embed code option where ever you want to add your live streaming video
    • Go to your live video platform and copy the embed code. The Dacast iFrame embed code is ideal.
    • Then paste the code in the field that says “click to set custom HTML”
    • Set it in the right spot and click on “Publish”

    If the video doesn’t show up in the editor, don’t worry. Try to hit publish, and the Weebly video player should show up for you.

    You can always go back into editor mode and readjust the location of the embedded live video if you don’t like how it looks.

    3. WordPress

    wordpress embed
    WordPress is among the most popular website building platforms since it offers packages for everybody from a basic blogger to eCommerce moguls.

    WordPress has recently updated its platform, so embedding a video is as easy as ever.

    Here’s what you’ve got to do:

    1. Copy your embed code from Dacast
    2. Open the page or post where you want to add the video
    3. Click the plus sign in the top left corner
    4. Search for “Video” in the element menu
    5. Drag and drop the video element where you’d like the video to be
    6. Click the three dots at the top of the element and click “Edit as HTML”
    7. Paste your embed code
    8. Click “Update”

    To embed a live streaming video on WordPress’s older version, you would need to switch from “Visual Editor” to “HTML Editor” and paste the embed code.

    That is all you need to know about how to embed live streams on a WordPress website. 

    4. Shopify

    Shopify is a popular option for merchants wanting to provide a live shopping experience for viewers.

    To embed streaming videos on Shopify for a live shopping experience, follow these steps:

    1. Copy your embed code from Dacast
    2. Open the page or post where you want to add the live stream
    3. Click the camera sign
    4. Paste your embed code from Dacast
    5. Click “Save”

    Make sure to click “view page” to double-check the embedded video player is working. If you run a Shopify website, that is all you need to do to embed live video on your site. 

    5. Yola

    yola cms embed
    Yola is known for its excellent customer support, so if you have trouble embedding on its platform, it will walk you through it.

    On Yola, you can add videos to your website from other video-sharing sites. With your Dacast embed code, follow these steps.

    1. Copy the code provided.
    2. Go to site builder, then click “Widget”  
    3. Select “Popular”
    4. Drag and drop the “HTML code” widget onto your page
    5. Paste your code into the HTML editor 
    6. Click “Save”

    It’s always a good idea to preview the published page to make sure everything will look okay for your viewers. That is all you need to do to know how to go live on the Yola website with your content. 

    6. Google Sites

    google suite website builder
    Google Sites is quite convenient if you are working on your site with other members of your team.

    Google Sites is part of the Google app tool suite. It’s a free service that allows you to create your own website. The service was created to allow groups of individuals to create and edit a website together from different locations. 

    To embed on your Google Sites page, follow these steps:

    1. Copy the Dacast embed code for the video
    2. Locate the page where you want to embed the video
    3. Click “Edit Page” 
    4. Place your cursor where you want the video
    5. Go to “Insert Menus”
    6. Click on “More Gadgets” 
    7. Now select “Featured” and then find the “Embed Gadget”
    8. Once you’ve selected the “Embed Gadget,” paste the embed code
    9. Click “OK” to save your page

    That’s all you’ve got to do. Now, you’ll have the video embedded straight onto your Google Sites website for viewers to see.

    7. Squarespace

    Squarespace is a robust platform for building professional websites with no coding experience.

    Squarespace is a bit limited when it comes to the streaming platforms that you can use on their cheaper plans. Embedding a Youtube live stream on Squarespace is a lot easier, but as mentioned, it has its limitations.

    To use Dacast to embed a live stream on Squarespace, you’ll need to upgrade to a Business and Commerce plan.

    Here are the step-by-step instructions to embed a live video in Squarespace using a Dacast embed code.

    1. Click edit
    2. Click the + sign in the section you want to embed the live stream.
    3. Click </>code
    4. Make sure it is set to HTML
    5. Delete the text “ <p>Hello, World!</p>”
    6. Copy your embed code from Dacast
    7. Paste the code
    8. Double-check the HTML code for live streaming your video was set up correctly

    As far as how to embed a Youtube video on Squarespace, follow these steps:

    1. Click edit
    2. Click the + sign
    3. Click Video
    4. The default option is to add a URL, but to the right of that option, you’ll see </> and that’s what you want to click.
    5. Find your Youtube live stream embed code under the “manage” tab.
    6. Paste the code and save.

    Again, it’s never a bad idea to make sure everything is set up correctly.

    That is what you need to do in order to embed live streaming video on Squarespace. 

    8. GoDaddy 

    GoDaddy’s website builder is a free online editing and publishing tool that is easy to use.

    This website builder is quick to set up and has all the required options for a basic site.

    It asks you to enter your specifications for a website and then generates one for you with a theme that does well in your industry and all the necessary widgets and pages. You can always customize it to make it your own.

    Here’s how you can embed a video on your GoDaddy website:

    • Go to your website’s admin page and find the page you want to embed your live stream video.
    • Click on “add a section”
    • Find the option to “add HTML section” and click on “add”
    • Copy the embed code from your live stream video
    • Paste it into your website in the “custom code” field
    • Click on “preview” to see how it looks and then click on “Publish”

    And voila! Your live video is now available on your GoDaddy website.

    9. Zyro 

    Zyro is a DIY website builder with its own hosting that makes it easy for anyone to create a website or online store.

    Zyro is a website builder, which is popular because of its affordable plans and flexible templates.

    Its easy-to-use interface makes it a good choice for beginners but it also offers some amazing features for advanced users to build professional-looking websites. You can conveniently edit the templates as well to add your branding.

    Here’s how you can embed your live streaming video on a Zyro website:

    • Log in to your Zyro admin portal
    • Go to the navigation menu on the left and click on “pages”
    • If you want to create a new page for the live video, then click on ”add page” and insert a title and related information
    • Otherwise, click on an existing page and select the ”edit” option.
    • Locate the area on your page where you want to embed the video
    • Click on ”add section” from the menu on the left
    • Find the ”embed code” option
    • Copy your embed code from the live video platform such as Dacast or YouTube
    • Enter the embed code that you copied from your live streaming video.
    • Click “preview” to view your changes
    • When you’re ready, click on “update” to finalize the changes.

    And you’re done.

    Embedded Live Streaming Video Examples

    Here are a few organizations that are embedding live streaming videos directly on their website.

    1. Sports Live Streaming

    Pittsfield TV is a television station made for its local community. They’re a great example of how to livestream events on your website because on top of streaming sports, they also have other channels for education and news live streaming.

    2. Music Live Streaming

    TV-Polmusic, headquartered in New Jersey, highlights Polish music artists. They have an embedded video player that streams music videos live to a global audience.

    3. Live Lectures Streaming

    Gresham college is a college located in London that doesn’t enroll students but instead offers its lectures free to the public. They now embed live streams of their lectures directly on their website.

    How to Embed a Video Player on Social Media

    Whether you want to use social media platforms like Facebook for live streaming sports or simply to host a live webinar training for your business, the ability to embed live stream content onto social media is vital in today’s world.

    Despite its live streaming limitations, social media is considered a tried-and-true way to gain viewers and grow a following for your broadcasts.

    You can share one of these identical embed codes on Facebook and Twitter in order to give access to your live broadcast or video-on-demand. You can locate this code in the “PUBLISH SETTINGS” section of your video content.

    Please note that Facebook has been restricting its option to live stream directly on the Facebook platform. Therefore, if you want to live stream on the Facebook platform, please check out this tutorial for information on working with all encoders supporting multi-destination streaming.

    Embedding Live Stream Video for Mobile Devices and Desktops

    Embed Streaming Video
    Embedding live streaming videos to your desktop or mobile sites can be done without any proficiency in coding, as the iFrame code is provided for you.

    With Dacast and most other video streaming platforms, broadcasters don’t have to worry about learning how to write the correct embed code because the software generates code for you, making embedding live video easy.  

    You can copy and paste the iFrame or JS embed code directly into the HTML of your website. This method works well for both mobile and desktop sites. This is definitely a perk because watching videos on mobile devices has a rocky history. 

    For many years, Adobe’s Flash Media Player was the standard for playing videos. This trend shifted with the advent of smartphones, specifically the iPhone, in 2007. Apple’s iOS operating system has never supported—and likely will never support— Flash technology. 

    Steve Jobs released a public statement about the technical flaws of Flash Media Player. He noted these flaws as the reason why he didn’t use Flash for Apple’s iOS. This announcement created controversy and heavy speculation. There were many theories about Jobs’s motivations. However, shortly thereafter, Apple launched the HTTP Live Streaming Protocol to coincide with the debut of the iPhone 3.

    Flash has been on the decline ever since, especially for mobile operating systems. A few years later, Android followed suit by ditching Adobe Flash, as well. As a result, Dacast and other live streaming platforms now integrate HTML5 into our embed codes. This feature helps you to create embedded players with compatibility across most devices.

    How to Improve an Embedded Live Video

    After following all the steps to correctly embed a live streaming video on your website, the last thing you want is a lagging video with shaky audio. To improve the video quality of your live stream, you should know about encoders.

    An encoder, among many benefits, makes your videos look and sound more professional. It also stabilizes streaming when there’s an unreliable internet connection.

    There are two types of encoders available: hardware and software. Whether you use a software or hardware encoder depends on your brand’s goals.

    Hardware encoders are generally more costly than software encoders but are known for their speed. Besides price, another advantage of software encoders is that you get instant access to software updates, whereas updating physical hardware is a lot harder.

    If you’re just getting started with encoders, the open-source encoder OBS Studio is a good option that is known for its simplicity.

    Top 3 Mistakes To Avoid When Embedding Live Streaming Video in Your Website

    Although the process for embedding live video in all the popular website builders is relatively straightforward, there’s still room for mistakes. Here are the top three ones you should avoid:

    • Privacy setting: Confirm that the privacy settings of your live video are the same as that of your website page. That’ll ensure that all your website visitors are able to view the live video. For example, if you’ve put your live video behind a paywall for premium users, then make sure that your website page is also for that specific audience so other users don’t run into any issues, such as being unable to watch the video.
    • Update the page: Remember to update your page when/if you delete the live video. If your video goes down for whatever reason, then the page will show an error of a broken link and negatively affect the user experience. It happens a lot with YouTube videos which are removed either by the admin or deleted by the network due to policy violations.
    • Check your plug-ins: Make sure you don’t have a plug-in on your website that prevents you from embedding videos in your website. The “Disable Embeds” plug-in on WordPress is an example of such a plug-in.

    Conclusion

    It’s fairly simple to embed live video on your website, whether you’re tech-savvy or brand new to live streaming technology.

    Here at Dacast, we provide embed codes that are easy to copy and paste into your website’s editing platform. Most online website creators will have unique ways of embedding a live video onto your website, but if you follow the instructions we’ve provided, it is easy to figure out.

    Now that you’ve learned about how to use Dacast’s streaming solution for embedding live stream and on-demand video content onto your website and social media pages, it’s time to show off your content. 

    When you use Dacast to host your video content, generating embed codes, and adding your videos to your site will be a breeze.

    Interested in giving Dacast a try? Why not take advantage of our free 14-day trial (no credit card required)?

    Get Started For Free

    From secure video upload of your valuable content to reliable top-tier CDN content delivery to viewers, we’ve got you covered!

    author avatar

    Harmonie Duhamel

    Harmonie is a Senior digital marketer with over 6 years in the Tech Industry. She has a strong marketing and sales background and loves to work in multilingual environments.

    Sign up for a 14-Day trial.

    Read Next

    Read Next

    article featured
    article featured

    How to Choose a Video Paywall Solution for Live Streaming Monetization in 2023

    author avatar

    Emily Krings

    21 Min Read

    article featured

    TikTok Live Streaming: How to Go Live on TikTok

    author avatar

    Emily Krings

    16 Min Read

    Subscribe Now

    Stay up-to-date with the latest features and product releases. Cool tips, expert advice and more.