Click to See Complete Forum and Search --> : In need of help with video clips


Davidc316
06-03-2003, 11:37 AM
This post has nothing to do with PHP but I hope someone out there can help me...

I'm working on a site for a martial arts guy and I'm hoping to have a bunch of his video clips on the page http://www.tommycarruthers.com/video.htm

Now, I already have the clips ready to go here on my computer. They are standard mpegs that I got from the last site.

The trouble is... I'm not sure how to put them on the site.

I mean, I can have it so that it says (something like) "click here to download the clip". But what I REALLY would like would be to have a wee picture on the screen (maybe the first frame in the clip) and to have it so that you click on the frame to download and play the movie (all be it in another window or wherever).

Can anyone point me in the right direction with this?

Thanks!

Bunkermaster
06-03-2003, 11:55 AM
embeded winmedia player object or quicktime...

Davidc316
06-03-2003, 11:59 AM
Sorry, I don't understand your message.

Bunkermaster
06-03-2003, 12:20 PM
http://www.apple.com/quicktime/authoring/embed.html
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/embed.asp

not much more understandable but who knows...

stolzyboy
06-03-2003, 12:23 PM
<object width="320" height="290" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" id="mediaplayer1">
<param name="Filename" value="filename.mpg">
<param name="AutoStart" value="false">
<param name="ShowControls" value="true">
<param name="ShowStatusBar" value="false">
<param name="ShowDisplay" value="false">
<param name="AutoRewind" value="false">
<embed width="320" height="290" src="filename.mpg" filename="filename.mpg" autostart="false" showcontrols="false" showstatusbar="False" showdisplay="False" autorewind="false">
</embed>
</object>

Mordecai
06-03-2003, 06:22 PM
If you do that for all of them, it'll take a very long time to load the page. My suggestion is you screenshot every one, and use a picture like that. I don't know of any MPEG (maybe even DivX) libraries for PHP, but you might want to search Google.

Davidc316
06-03-2003, 11:21 PM
I think screenshots would be a good idea to.

But, I'm not sure what software you need to use in order to get these screenshots. Photoshop won't do it and neither will Windows Moviemaker. Does anyone know?

(thanks for the replies folks!)

Davidc316
06-03-2003, 11:25 PM
By the way, that was a very nice bit of code stolzyboy.

If I can't get a result with the screenshots I may use that.

But like the Mordecai says, the page would take ages to load.