Adding a streaming video to website?

Associate
Joined
17 Mar 2004
Posts
1,562
Hi all, i've got some 5 min clips that i'd like to add to my website.

They are about 20MB each. I have them in a range of formats including .flv, .avi and .mpeg although the mpeg is around 45MB.

I want to have an image, which you click on and the streaming video loads in a new window via javascript.

Whats the best format/way of doing this?

Thanks.
 
Code:
<img src="http://www.domain.com/video_preview.jpg" onclick="window.open('http://www.domain.com/videopage.htm', 'video', 'notoolbar,width=200,height=200'); />

Code:
<embed src="http://www.domain.com/video.avi" width="200" height="200" />

However <embed> is not part of the W3 (and thus XHTML) spec.
 
Back
Top Bottom