website media player
didn't know where else to post this..
I would like a windows media player website player for my website. At the moment all of my clips people have to right click and click save as to view them. I would like to give them the first option of just viewing the video on the site. anyone know of an easy way to do this? |
If you or your service providers are running Windows 2000 or Windows 2003 then you would just load Windows Media Services. You would them have you video links use the MMS protocol instead of HTTP.
|
You could embed the video file on your site.
|
I've tried embedding it but then there are no controls unless you right click the video.
My host is a UNIX host though. so, maybe I can check out some PHP scripts then? |
aren't your clips the standard .wmv type? those files should be able to play if clicked on with internet explorer... one thing you might look at is associating the file types in the .htacess(sp?) file... it's been a long time since i looked at that stuff.
|
If you embedded the video, make sure you leave enough width and height for the player controls. I know that's the case for Quicktime (you need 16 extra height pixels for the controls).
|
boy.. you'd think that after desiging 4 websites I would know this stuff already! I've never done a site with video on it so this is all new to me.
The videos that are on my site are AVI files. little guys. I like the MOV files because it uses player controls, but I don't know how to get player controls with an AVI file. I'm sure Microsoft has some sort of a web plugin that i can load on my site or something. Unless being UNIX server wont' allow that... |
Download Windows Media Encoder (free) and make windows media files. You should be able to embed them. It's simpler if you steal HTML code from other sites and/or avoid using width and height tags.
|
Check this out, you'll have your streaming video create in second.
http://cit.ucsf.edu/embedmedia/step1.php |
awesome! Thanks allan! Exactly what I was looking for.
|
you can do anything you want with the mediaplayer.
take a look at http://www.imagidee.ch/image2/pagevideo/main.asp it just has one button for pause and one for muting audio, but you could have a counter or slider showing time elapsed or any customized button to do any required function. this code use mms: protocol (streaming) but it would work with any microsoft mediaplayer code. (if you really need the full control , just use the ones of the mediaplayer)You can even monitor the status of the player to know when it really starts playing or when video is over. ...and yes you can steal the code from that page. |
All times are GMT -6. The time now is 11:50 AM. |
DV Info Net -- Real Names, Real People, Real Info!
1998-2024 The Digital Video Information Network