Archive for March, 2012

I got this

Wednesday, March 21st, 2012

 

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.

 

Latest Illiteracy Contest Winners (MyInfo.com, 369 Interactive Solutions)

Wednesday, March 21st, 2012

As some of you may know, we here at Firefall Pro 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:

MyInfo.com

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.

369 Interactive Solutions

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.

HTML5 Audio & Video MIME Types

Saturday, March 10th, 2012

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: