How to encode video to use HTML 5 video tag? [closed]

According to this page you have to add the mime types to the server, in Apache it would be:

AddType video/ogg          .ogv
AddType application/ogg    .ogg

Um just curious, have you tried just renaming the extension to .ogg instead of .ogm?

Edit:

Have you had a chance to read this page?