[sword-devel] Linked in audio files
Greg Hellings
greg.hellings at gmail.com
Fri Aug 27 14:11:05 MST 2010
On Thu, Aug 26, 2010 at 12:19 AM, Chris Little <chrislit at crosswire.org> wrote:
> No, there is nothing specifically image-oriented about the <figure> element.
> That Sword filters always interpret it as an image is irrelevant to my
> point.
>
> Moving forward, we can mandate that (for Sword) non-image data embedded with
> <figure> be tagged with an attribute (e.g. type="x-audio") or we can add the
> tag ourselves in the importer by reading filename extensions. Then the
> OSISHTMLHREF filter can watch for type="x-audio" and generate <audio> or
> whatever (depending on whether we're targeting HTML5 or something else).
As an interesting footnote to this, I stumbled across this article
today while looking at the HTML5 audio/video spec:
http://sharovatov.wordpress.com/2009/06/05/html5-video-tag-and-internet-explorer/
Seems that using images to display video has a precedent much older
than us (though now abandoned).
--Greg
More information about the sword-devel
mailing list