[uf-discuss] Media Metadata, Specifically Video Thumbnails

Charles Iliya Krempeaux supercanadian at gmail.com
Wed Aug 16 14:40:55 PDT 2006


Hello Steve,

One other things...

The other important point to that is that the <a> element makes use of
the "type" attribute to show that it points to a video.

(Example MIME types in there that would signify a video are
"video/mpeg", "video/quicktime", etc.  One problematic video MIME type
is that of Ogg Theora; which is "application/ogg"... which would
require you to probe the file to see if it contains video or not....
and not just sound or something else.)

Software could them check the Content Type (storted in the <a>'s
"type" attribute) to see if it is one for a video.

NOTE that the <a>'s "type" attribute contains a Content Type (and NOT
just a MIME TYPE).  So parsing it might take a bit more effort.  Refer
to  Section 14.17 of RFC 2616 for more information on content types
-- http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17


See ya

On 8/16/06, Charles Iliya Krempeaux <supercanadian at gmail.com> wrote:
> Hello Steve,
>
> This (and other things relating to it) have been discussed, but
> nothing has been agreed on yet.
>
> It has been suggested that using class-thumbnail on the <img> element
> would work for making thumbnails.  As in...
>
> <a type="video/mpeg" href="/the/movie"><img class="thumbnail"
> src="thumbnail.png" /></a>
>
>
> See ya
>
> On 8/16/06, Steve Williams <sbw at digg.com> wrote:
> > I'm new to microformats.  I read Mary Hodder's excellent wiki page
> > describing the current landscape, but I didn't find a specific
> > microformat for media metadata.
> >
> > Is there a concrete recommendation for microformats to express media
> > metadata?  If not, would one of you more experienced microformatters
> > have time to help me whip up a proposal?
> >
> > Our specific need:
> >
> > We added YouTube and Google video thumbnails to digg.com yesterday.
> >
> > http://diggtheblog.blogspot.com/2006/08/video-thumbnails.html
> >
> > We used YouTube's public API and an unpublished Google mechanism to
> > fetch their thumbnails.  YouTube's API is great, but it's a bit
> > heavyweight for just fetching thumbnails.  Fortunately, there's an
> > opportunity to influence other sites to adopt a microformat for the
> > thumbnail and perhaps other metadata.
> >
> > Digg invited other video hosting services to contact us about getting
> > their thumbnails on digg, and a bunch of them have contacted us already.
> >
> > They're asking us what they need to do, and I'd like to respond,
> > "Just mark up the video's permalink page with this here microformat,
> > and we'll use that to grab the thumbnail."  But I don't know enough
> > to tell them exactly how to do it.
> >
> > Thanks!


-- 
    Charles Iliya Krempeaux, B.Sc.

    charles @ reptile.ca
    supercanadian @ gmail.com

    developer weblog: http://ChangeLog.ca/
___________________________________________________________________________
 Make Television                                http://maketelevision.com/


More information about the microformats-discuss mailing list