Video Player

How to Embed a Video on Your Website in 3 Simple Steps | Dacast Streaming Platform

By Elsa Thollot

6 Min Read

banner image featured
author avatar

Elsa Thollot

Elsa is a Product Manager at Dacast, with experience in Sales and Marketing. She takes advantage of her user-centered approach to develop high-quality products.

Table of Contents

    Share this post

    Table of Contents

      You are here:
      < Back

      Want to incorporate live streaming video on your website? We’re going to show you how to embed a video on your website using Dacast in just a few simple steps. If you have already uploaded video files to Dacast, and you’re now looking to embed a video player on your website, this process is relatively straightforward.

      Step 1: Choose the Video To Embed

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

      Dacast Embed a Video on Website - Upload

       

      Step 2: Find and Copy the Embed Code

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

      Dacast Embed a Video on Website - 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: Insert the Embed Code into Your Website

      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:

      Dacast Embed a Video on Website - iFrame Code

      You can change the width and height parameters, as well. The parts for the code that you must change to do this are highlighted in red above.

      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.

       

      If you have any questions about video embed or need help with this Dacast feature, feel free to contact us directly. Not yet a Dacast user, and interested in trying Dacast risk-free for 30 days? Sign up today to get started.

      GET STARTED FOR FREE

      Additional Resources:

      author avatar

      Elsa Thollot

      Elsa is a Product Manager at Dacast, with experience in Sales and Marketing. She takes advantage of her user-centered approach to develop high-quality products.

      Sign up for a 30-Day trial.

      Read Next

      article featured

      Can I Add Subtitles to Video Content on Dacast?

      author avatar

      Harmonie Duhamel

      3 Min Read

      article featured

      How to Get an M3U8 Live Stream URL Link for Your Live Streaming Channels

      author avatar

      Jose Guevara

      5 Min Read

      article featured

      Does Dacast Support X264 Streaming?

      author avatar

      Harmonie Duhamel

      4 Min Read