How Do I Embed a Video on My Website?

Video Player - HTML5 All Device
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.

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

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.

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.

Any questions on our pricing plans or do you want to learn more about Dacast? Please contact us.

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:

14 thoughts on “How Do I Embed a Video on My Website?

  1. Mark says:

    Is it possible to change the colors of the player itself?
    My site is a darker site, and the player seems to default to bright white background with black letters.
    Is there a way to have the player be dark with white letters?

    • admin says:

      Thank you for your interest in Dacast’s Streaming Solutions. Please
      contact our Customer Support team at this link and someone will be
      more than happy to assist you. Have a great day!

    • Harmonie Duhamel says:

      Hi Bruno, As far as I know, this feature should be available. Could you please contact our support team to let them know the situation you are experiencing? Email: support@dacast.com
      Thank you!

  2. Sam says:

    How do I insert a Dacast video into a FileMaker Pro web viewer object. I know how to do this with VIMEO vids but am unsure of the exact string of code to take in order to display the Dacast vid.

    • Harmonie Duhamel says:

      Hi Sam, You can do it by taking the embed code in your back-office. Let me know if there is anything else I can do to help you. Have a nice day!

    • Harmonie Duhamel says:

      Hi Behnam, I just reviewed the settings, and they are showing correctly right now. Can you confirm? If you need further technical assistance, do not hesitate to contact our support team via the chat available on our platform directly. Let me know if there is anything else I can do to help you. Have a great day. Best regards,

Leave a Reply

Your email address will not be published. Required fields are marked *