Software, your way.
How To Get Good Custom Software
(Download)
(PDF)
burger menu icon
WillMaster

WillMaster > LibraryGenerators and Converters

FREE! Coding tips, tricks, and treasures.

Possibilities weekly ezine

Get the weekly email website developers read:

 

Your email address

name@example.com
YES! Send Possibilities every week!

HTML Video Tag Generator

It is possible (and relatively easy) to publish your own videos.

You can avoid presenting YouTube ads to your site visitors and YouTube's distracting or competing video recommendations. Other video-upload sites and their business requirements and restrictions also can be avoided.

The secret is the HTML video tag. The tag is put into your own web page. And, yes, you can do it in WordPress.

It takes 3 steps.

  1. Upload your video to your server and make a note of its URL. (It needs to be an MP4 video to play reliably on all popular browsers.)

  2. Generate an HTML video tag. (The generator is further below in this article.)

  3. Paste the generated HTML video tag into your web page.

    For WordPress users: Open a "Custom HTML" block and paste the generated video tag into it.

That's it. You're good to go.

You are now showing your own video on your own web page from your own server. In other words, you have full control.

The HTML video tag generator gives you these options:

  • Automatically play the video when the web page is loaded. (Not all browsers will comply.)

  • Start the video muted. (Users must raise the volume before sound is heard.)

  • Show video controls (start, stop, volume, etc).

  • Publish a poster image to display until the video is played. (Default is a browser-selected image from the video itself.)

HTML video Tag Generator

The first field (video URL) is required. The rest are optional.

URL of the MP4 (*.mp4) video file.

 Automatically play the video when the web page is loaded. (Not all browsers will comply.)

 Start the video muted. (Users must raise the volume before sound is heard.)

 Show video controls (start, stop, volume, etc).

Width (any valid CSS width value).

Height (any valid CSS height value).

URL of poster image file (*.jpg, *.jpeg, *.png, or *.gif).

(Generated HTML video tag will be below the button.)

Paste generated code into web page where video is to be published.

As the generator says, paste the generated HTML video tag into your web page to make your video available. If you wish, you can paste it into a test web page, first, to see if it works the way you want it to.

If you prefer to construct your video tag yourself, Videos From Your Website has how−to information.

HTML video tag serves your video from your website without interacting with an external video depository or delivery service.

Your Videos Published On Your Website lists other articles related to publishing videos with the video tag.

(This article first appeared with an issue of the Possibilities newsletter.)

Will Bontrager

Was this article helpful to you?
(anonymous form)

Support This Website

Some of our support is from people like you who see the value of all that's offered for FREE at this website.

"Yes, let me contribute."

Amount (USD):

Tap to Choose
Contribution
Method

All information in WillMaster Library articles is presented AS-IS.

We only suggest and recommend what we believe is of value. As remuneration for the time and research involved to provide quality links, we generally use affiliate links when we can. Whenever we link to something not our own, you should assume they are affiliate links or that we benefit in some way.

How Can We Help You? balloons
How Can We Help You?
bullet Custom Programming
bullet Ready-Made Software
bullet Technical Support
bullet Possibilities Newsletter
bullet Website "How-To" Info
bullet Useful Information List

© 1998-2001 William and Mari Bontrager
© 2001-2011 Bontrager Connection, LLC
© 2011-2024 Will Bontrager Software LLC