Forum Moderators: open

Message Too Old, No Replies

mpeg in html

         

yllai

1:11 am on May 10, 2005 (gmt 0)

10+ Year Member



I have a mpeg file. In my page, I would like to have a link, when user click on that link, they will be link to another page which is playing the mpeg file. Can it be done? How?

tedster

3:15 am on May 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think the most foolproof way to offer cross-browser access to an mpeg file is a straight link to the file, rather than embedding it in a page.

However, if you do want to embed your movie, the <object> tag is the valid approach. For backwards compatibilty, you can nest a (now deprecated) <embed> element inside an <object> element.

We have a Graphics and Multimedia Forum [webmasterworld.com] where you can find some specialists to help out.