html5

Open Source Catholic Challenge: Rosary in HTML5

An idea I've been having in the back of my mind for some time is putting the Rosary (or another devotional) online in such a way as to (a) faithfully instruct individuals on the purpose and beauty in its prayer, and (b) stretch my skills and build a usable, friendly, and prayerful web application.

I envision building a standards-compliant/HTML5 site which leads a Catholic through the recitation of the Holy Rosary, or maybe the Chaplet of Divine Mercy, and works across as many modern browsers as is possible, without Flash, and without any of the 'cheese factor' that I see on many other similar projects...

Would anyone else be interested in collaborating in a project like this? I will probably do a little here, a little there, as I don't have a lot of time on my hands right now :)

Easy Embedding of HTML5 Video on a Drupal Site

For the past year, I've watched the HTML5 <video> element debate (mostly over video formats/containers) with a great interest—I abhor having to use Adobe Flash on my sites to embed video, especially since that means many videos don't work on my Linux workstation (which doesn't have Flash), or on my iPhone/iPad.

The HTML5 <video> element (and similarly, the less-supported <audio> element) promises to take away the stress of having to have flash players, FLV-encoded video, etc. just to show a viewer a non-static piece of content.

In its simplest form, you can add the following code to embed a video on your page:

<video src="video-file.m4v"></video>

On my Drupal sites, I've been wanting to be able to simply grab an m4v video exported from iMovie, QuickTime, or straight from my camera, attach it to a post via a filefield, and have it display. In the old days, I would use SWFTools to embed the video using Flash.

I've found a solution that, in my opinion, is much more elegant, using the <video> element, with a Flash fallback for Internet Explorer:

  1. I set up a filefield with which I can attach an m4v file to a piece of content.
  2. I enabled Custom Formatters (an excellent Drupal module for CCK), and set up a simple formatter for this filefield with the code below:
Syndicate content