Embedding digital media is a pain in the arse. The browser wars of the early 90s led to all sorts of implementations of adding video to a site, and with different types of media (QT, WMV, SWF) it becomes even more of a hassle.
Fortunately, the University of California has a fantastic page that helps generate embedded media code. Simply choose your type, enter your details, and go. Easy as that.