Hi,
I’m Jake, I work at Firefall. I’ll be updating the blog with random musings, things heard round the office and internet treasures.
Scott regrets this already.
Illumination from the residents of Firefall, LLC
by jake
by Scott P.
As some of you may know, we here at Firefall hate when people don’t read. We especially despise those who solicit us even when we explicitly say not to. So without any further ado I present the winners of this round’s illiteracy contest:
Our first winner is Emiliano Sanchez of Myinfo.com. Emiliano writes us explaining how he’s, “a real person, trying to make a sincere dollar”. I’m assume he means by spamming Craig’s List. I think his website alone serves as a good enough deterrent.
That soccer ball is animated. No really it is.
Honorable mention goes to 369 Interactive Solutions, they’ve got a mostly broken website but their letter wasn’t a mine field of misspellings, just a variety of font sizes.
I’d like to thank everyone that participated in our illiteracy contest. Matt pointed out that we should put up more Craig’s List ads just to get more of these excellent submissions.
by Scott P.
HTML5 video and audio can be endlessly frustrating to get working properly across all platforms. To further complicate matters there is more misinformation out there than definitive resources. This problem isn’t much different than JavaScript where there hundreds of thousands who can write JavaScript, but there must only be 10 people in the world that really understand it.
An important step in serving HTML5 audio and video is serving the files with the correct MIME type. To add them to an Apache server, use the AddType directive in a .htaccess or directly in a Virtual Host file. The following example assumes separate .htaccess files for each:
Audio
AddType audio/aac .aac AddType audio/mp4 .mp4 .m4a AddType audio/mpeg .mp1 .mp2 .mp3 .mpg .mpeg AddType audio/ogg .oga .ogg AddType audio/wav .wav AddType audio/webm .webm
Video
AddType video/mp4 .mp4 .m4v AddType video/ogg .ogv AddType video/webm .webm
The only tricky and rarely discussed thing is some files use the same file extension for both audio and video formats. This means depending on the types of files you want to serve you might want to add a .htaccess file to the specific directory containing either the audio or the video files so the proper MIME type is served.
References: