Go Back   Hardware Canucks > SOFTWARE > O/S's, Drivers & General Software

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 4, 2008, 09:43 PM
Top Prospect
Join Date: Jun 2007
Location: Nebraska, USA
Posts: 77
Default how does one embed video?

At school I am taking a class named web/MM. During the first semester we devote our learning efforts to making web pages and designing sites. Since the software package (Dreamweaver) is not up and running yet, we had to resort to learning basic html with the trusty notepad.

My question is simple: How do you embed a video from a file into a web page. The video is in .avi format so WMV or VLC for firefox (my teacher requires the use of firefox). I want to embed a video from \\xserver2\studenthomes\student*\Documents\My Videos\target_video.avi onto my web page.

To clear up useless questions, \\xserver2\studenthomes\student*\Documents is a directory in which only the student account tied to it has access to it. So if John Doe has an account, his private folder would show up as \\xserver2\studenthomes\Jdoe\Documents and so on and so forth.

On an unrelated note, I voted.
Reply With Quote
  #2 (permalink)  
Old November 5, 2008, 09:01 AM
Thund3rball's Avatar
Hall Of Fame
Join Date: Nov 2007
Location: Vancouver
Posts: 3,527

My System Specs


First of all you don't embed .avi files. The normal practice is to embed a .wmv. So you will need to use Windows Movie Maker or some other video edit/compressor software to convert your file to a wmv. These days flash is the video delivery format of choice though. But I'll let your teach go over that. Code can vary a bit but this generally works.

<object type="video/x-ms-wmv"
width="320" height="260">
<param name="src"
value="http://www.sarahsnotecards.com/catalunyalive/fishstore.wmv" />
<param name="autostart" value="true" />
<param name="controller" value="true" />

This webpage can help you generate the code too, but it spits out a huge mess of shite.
Embedded Media HTML Generator

And this is a good article on embedding video.
A List Apart: Articles: Bye Bye Embed
"this is not troll. this is real deal!" - hohohee

See the drop down!

Laptop: Dell XPS M1530 \\ T7500 2.2GHz \\ 3GB 667 \\ 6 Cell \\ 8600M GT \\ 200GB 7.2K \\ WSXGA+ \\ Bluetooth/Wireless \\ MS Blue Track Mini \\ Vista Ult. (RED)

Reply With Quote
  #3 (permalink)  
Old November 5, 2008, 07:12 PM
Top Prospect
Join Date: Jun 2007
Location: Nebraska, USA
Posts: 77

Thanks for the input. I used AVC (free version) to convert my video with no problems. I am grateful for the links in which you have provided.

HTML is fun when you know what your doing, otherwise its a cast iron <fill in blank>.
Reply With Quote

Thread Tools
Display Modes