avi videos in website, I cant get them to play

They have: 5 posts

Joined: Nov 2005

I am trying to embed videos into my website that I take on my digital camera. They are .avi videos, and my web server says that I do not have the correct MIME code to play them on the site. What on earth does that mean? What can I do to get my videos online? Could someone please help me? Thank you

DaveyBoy's picture

They have: 453 posts

Joined: Feb 2003

you'll need to convert them to either .MOV or .WMV to be able to stream them from your site i think.

They have: 6 posts

Joined: Nov 2005

You may want to try to add this to your .htaccess file and see it will help

AddType video/x-msvideo .avi

This should hopefully then allow you to run the videos you need.

They have: 5 posts

Joined: Nov 2005

I don't believe I know how to convert my files from .AVI to .MOV I tried adding the video/x-msvideo .avi and it doesnt seem to have worked for me. Thanks for the replies and any more help you could provide!

Roo's picture

She has: 840 posts

Joined: Apr 1999

List of mime types

You can convert to the smaller leaner .wmf by bringing your .avi into Windows Movie Maker if you are running XP.

I don't know if Mac users would have an issue with the .wmf format or not.

Also you could search download. com for possible free converters if you're not running XP, which comes with the Movie Maker.

Roo

They have: 5 posts

Joined: Nov 2005

I have done what was recommended, and converted the videos to .wmv extensions by using windows movie maker, and they still will not play on my site. I build using frontpage 2003, and my web host tells me that it is something with the coding I use to publish, but I am doing everything, and when I test view the page prior to publishing, the videos play fine, but once I publish them...nothing...Any more ideas, I sure appreciate all the help you have provided so far!

Roo's picture

She has: 840 posts

Joined: Apr 1999

Can you post a url? It's hard to troubleshoot when you can't see the code.

Roo's picture

She has: 840 posts

Joined: Apr 1999

But in the meantime:

Are you sure you uploaded the movie file? Is the path to the file correct? For example your code reads src="filename.wmf" but the file in actually located in folder/filename.wmf or the other way around....the browser might be looking for folder/filename.wmf, and the file is actually in the root.

Also..code errors..things like unclosed tags, missing quote marks etc. etc. will cause problems with display and function.

Roo

They have: 5 posts

Joined: Nov 2005

OK, I was able to get my videos to play on my site by using windows movie maker, but now I am trying to put together one of the videos in windows movie maker, and when I go to save it to my computer, it saves part of it, then freezes my computer. I have tried multiple times, and each time it saves to a different level, sometimes 37%, and as high as 68%. I do not understand what is going on. I was able to build one movie with this maker, but this one in particular is giving me problems, any ideas?

Roo's picture

She has: 840 posts

Joined: Apr 1999

What is the speed of your processor, amount of RAM, and amount of free disc space? You need a lot of power to edit video files.

They have: 5 posts

Joined: Nov 2005

You were right, it is that I do not have enough memory to save the movie files on my computer. Thanks for all the help.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.