24/7 U.S. Support – 877-595-4482
If you want to have a video that will play right in your web page, you can embed the video. Embed is a HTML tag that we have not discussed in previous sections that is used to place the video directly on the page. There are a few steps involved in embedding a video and may take some trial and error, but below we have the basic steps.
First, you will need to download a video player file that will play the video on your website. You can also embed a .wmv file and not have a video player file on your website, however in order for a .wmv file to play your website visitor must have Windows Media Player on their computer. If your visitors have a Mac, they may not have Windows Media Player which is why in this example we are using a flash player. There are many different files available that will assist you in playing an embedded video, however in this example we will be using a flash media player called mediaplayer.swf.
Once you have the file to play the video, you can create your HTML code. This is a very basic player code that we use on our own website, there are others available on the Internet that may have more options. We will go over the details in a moment, but here is the code:
<embed src="/support/mediaplayer.swf?file=video.wmv" width"854" height="480" allowfullscreen="true" />
Now we will break down the different parts to explain the code:
As long as you have the correct path in file= and have uploaded the media player, on your website you should now have an embedded video. Remember that there are lots of embed codes available on the Internet and you are not required to use this one, it is just an example of one way to embed your video on your website.
| 1. | How to Add a Video Link to your Website |
| 2. | How to Embed a Video on your Website |
| 3. | How to Embed a Youtube Video on your Website |
| Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
|---|---|---|---|
| Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |
Copyright © 2013 Web Hosting Hub - Privacy Policy - Terms of Service