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

By Elsa Thollot

5 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

     

    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 14 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 14-Day trial.

    Read Next

    article featured

    How To Use Dacast Browser-based Streaming (WebRTC)

    author avatar

    Samantha Lo

    11 Min Read

    article featured

    How to protect my VODs with DRM in Dacast?

    author avatar

    Dacast Team

    5 Min Read

    article featured

    How to Secure My Content With Signed Keys?

    author avatar

    Harmonie Duhamel

    6 Min Read