PDA

View Full Version : streaming wmv


DagGz
February 22nd, 2005, 09:46 PM
hi, i have some wmv files i would like to stream from my website. if you link directly to the file it asks you to either open or download. so i created a playlist file for each one in hope that when linked to and clicked on the website, it would open directly in windows media player. however this isnt the case. it asks if i want to download the playlist file and then if you do that and open it it works.

want i would like is to be able to click a specific link and then for the file to open and stream directly in windows media player without prompts to download files or anything.

any help is greatly appreciated as usual

stu

degsy
February 22nd, 2005, 09:50 PM
It would depend on the users setup. Some have their systems setup to open files or even to always download if using a download manager.

If you want to do proper streaming then you need a host that has the correct software installed to stream media.

Also you should embed the movie instead of just linking to it.

DagGz
February 23rd, 2005, 10:38 AM
if you go to www.breakbeat.co.uk you will see that the vids they have on the site open straight away without and prompts. also other website with funny video clips also work fine. is this due to the server issue? if so is there no way that i can achieve what i want without utilising a specialised server.

what would be the advantage of embedding the movie? if i did that i would surly have to re design a few things for it to display on the page. failing that can there not be a link so that when clicked the video displays in a pop up window with no address bar or buttons? im thinking that would be a better idea.

thanks for all your help so far

stu

degsy
February 23rd, 2005, 03:02 PM
something similar to
<embed src="/vid/video.wmv" width="320" height="240" autostart="false"></embed>

degsy
February 23rd, 2005, 04:46 PM
here is a tutorial
http://www.oreillynet.com/pub/a/javascript/excerpt/learnwebdesign_chap22/

DagGz
March 1st, 2005, 11:02 PM
have a look at this and let me know what u think. ive just sent the link to a friend and he said it isnt working but it is for me.

http://www.zen54867.zen.co.uk/bredbin/vids/acawards.htm

thanks

stu

degsy
March 1st, 2005, 11:26 PM
E:\bredbin\vids\acawards\vid1.asx

You have it linked to your PC

rockboy
March 1st, 2005, 11:40 PM
I know you only asked about the music but there are other path problems as well. There are no "acawardsvidwinx.htm" files or a css file but that might be because the files haven't yet been uploaded. If you see them it's because the path goes to files on your hard drive.

You'll need to fix all these image paths as well before they can be viewed online. Backslashes should be forward slashes. I suspect the path also needs fixed.
IMG SRC="acawards\images\141.bmp"

edit: I just looked at the page in IE and some things are a bit different. Apparently Firefox is not forgiving of some errors. Firefox was also blocking popups so some of your site will be inaccessible to some users that block popups.

DagGz
March 2nd, 2005, 07:06 PM
ok ive done everything you suggested, i really cant believe i was pointing to my PC with the vid files. i feel so stupid!!

about the popup thing. obviously i want my site to be as browser friendly as possible across the board but the only was i can think of displaying them are as im doing now, which isnt good for people using popup blockers as said. has anyone got any other ideas i could possibly use leaving my current design intact.

thx

stu

degsy
March 2nd, 2005, 07:08 PM
why not have the vid load in the scrollable area that you already have.

DagGz
March 2nd, 2005, 07:41 PM
i dont think that would look that good as the thumbs are there as well. saying that i think there is a script when u can click a link and then it goes back to the top of the page where the player would be.

i wanna be able to keep it on one page with all the vids linking to the one player if possible so i dont have to make loadsa pages.

questions question question, sorry to be a pain in the ass. i know what i want but i can never find how to do it. cheers for your time and patience.

stu