How to Embed a Video on Your Website Without YouTube

Last updated November 24, 2026

You can put a video on your website without YouTube by uploading it to a video host and pasting one line of embed code into your page. This guide shows how, step by step.

Why not just use YouTube?

YouTube is free, and for many videos it is the right choice. But when the video lives on your website, YouTube has a few downsides:

  • The player shows YouTube's logo and branding, not yours.
  • YouTube can suggest other videos, which can pull visitors away from your page.
  • YouTube may show ads on your video, and that money does not go to you.
  • Your video has to follow YouTube's rules, and it can be removed or age-restricted.

If the video is part of your business, like a product demo, a course lesson or a welcome message, you usually want a clean player that only shows your content.

Your three options

1. Upload the video file to your own web hosting

This looks like the simplest option, but it causes problems. Video files are big. Every view uses your hosting bandwidth, the page can load slowly, and visitors on phones get the same large file as visitors on fast computers. Many hosting plans also limit how big an upload can be.

2. Use a free video platform

Platforms like YouTube work, with the downsides above.

3. Use a video hosting service

A video host stores your video, converts it so it plays well on every screen, and gives you a player you can put on any website. This is what services like EmbVid, Vimeo and Bunny Stream do. It is the cleanest option for a business website.

How to embed a video with EmbVid, step by step

  1. Create an account. New accounts get a free 3-day trial. No deposit needed.
  2. Upload your video. Click Upload Video and drop your file in. MP4, MOV, AVI, MKV and WebM all work. If your video is already online, use Remote Upload and paste its link instead.
  3. Wait a moment. We convert the video so it plays smoothly on phones, laptops and TVs, even on slower internet.
  4. Copy the code. Go to My Videos, open your video and click Copy Embed Code.
  5. Paste it into your page. Put the code anywhere your website lets you add HTML. Save, and the video plays on your site.

The code looks like this. Your own code has your own video link in it:

<iframe src="https://embvid.com/embed/abc123" width="640" height="360" frameborder="0" allow="fullscreen" allowfullscreen></iframe>

Make the video fit phones too

The code above is 640 pixels wide. To make the video fill the width of your page and keep its shape on any screen, replace the size part like this:

<iframe src="https://embvid.com/embed/abc123" style="width:100%;aspect-ratio:16/9;border:0" allow="fullscreen" allowfullscreen loading="lazy"></iframe>

loading="lazy" tells the browser to load the video only when the visitor scrolls near it, so the rest of your page loads faster.

Where to paste the code on popular website builders

  • WordPress: add a Custom HTML block and paste the code. Full guide: How to add a video to WordPress.
  • Shopify: add a Custom Liquid section in the theme editor. Full guide: How to add a video to Shopify.
  • Other site builders: look for a block called Embed, HTML or Code.
  • Your own HTML site: paste the code into the page where you want the video to appear.

Make the player look like yours

In Player Settings you can pick your brand color for the play button and progress bar, and choose which controls show on the player. Viewers see your video, not our logo and not other people's ads.

Stop other websites from using your video

Anyone can copy embed code from a page. To stop other sites from playing your video, add your website under Allowed Websites in Player Settings, or under Allowed Domains when you edit a single video. Then the video only plays on the sites you list.

Questions people ask

Will an embedded video slow down my website?

Much less than uploading the file to your own hosting. The video streams from our servers, not yours. Adding loading="lazy", as shown above, helps even more for videos further down the page.

Does it work on phones?

Yes. The player works on phones, tablets and computers, and the video quality adjusts to the viewer's internet speed.

How much does it cost?

EmbVid is pay as you go. You pay for streaming and storage only, with no monthly fee. See our pricing or read how much video hosting costs for real examples.

Try it with your own video

The fastest way to see how it works is to try it. Start your free 3-day trial, upload one video and paste the code into your site. It takes about five minutes.

Ready to host your videos?

Start your free 3-day trial today. No deposit required.

Start Free Trial