Forum Moderators: not2easy

Message Too Old, No Replies

display avi files in browser

display avi files in browser

         

anixponse

7:32 am on Jan 5, 2005 (gmt 0)

10+ Year Member



Hello there,

I am designing a html page where i have integrated Media Player.

I nedd to display a .avi file which is near about 25 MB.

It takes a hell lot of time to download and after it is downloaded it doesn't play. Only the sound appears not the pic.

What i ant is it will buffer the first part and start playing... and then the next part and start playing.

Is this possible? I have searchd a lot in net but couldn't come up with any sollution.

Please help in resolving this.

With regards
Ani

keyplyr

8:08 am on Jan 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Maybe you don't have the code correct. You may wish to check out this tool:

[cit.ucsf.edu...]

RammsteinNicCage

3:37 pm on Jan 5, 2005 (gmt 0)

10+ Year Member



Only the sound appears not the pic.

That might be a problem with the codec. Did you make the file yourself? Do you know what codec was used to compress the file? If you're not sure, try downloading the divx codec - that is the most popular one for avi's right now.

And I hope you're keeping in mind that dial-up users will not be happy with a 25mb page that takes about 5-6 hours to load. ;)

Jennifer

walrus

4:38 pm on Jan 5, 2005 (gmt 0)

10+ Year Member



You are better off to convert it to
wmv or real media stream and then embed it, that's why there no code for generating an avi embed in that link that was posted. Have a side link to the file if you want people to be able to save the movie.
PS
You wont have a buffering problem after you convert.

smokeyb

11:04 pm on Jan 5, 2005 (gmt 0)

10+ Year Member



Hmmm... In my opinion there is a contradiction of methods here. Yes I would download a 25mb AVI (btw: I used to get 12mb an hour from a 56k modem) but only as a zipped file that I could download and watch at my leisure. It would also download in the background so I could carry on browsing. And if I wanted to watch something specific from a particular site, like a tutorial video, I would want it to be as compressed as possible like a wmv or Quicktime mov under 3mb. Then I may sit around for a while for it to load in the browser. So, I'd zip it and link to it (and compress it more), and have a short preview clip to load in the page.
Smokey