Hardware Canucks how does one embed video?
 User Name Remember Me? Password

November 4, 2008, 08:43 PM
 Top Prospect Join Date: Jun 2007 Location: Nebraska, USA Posts: 77
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.
November 5, 2008, 08:01 AM
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"
data="http://www.sarahsnotecards.com/catalunyalive/fishstore.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" />
</object>

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

Desktop:
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)

HEATWARE