[uf-discuss] RFC: sHTML Video Thumbnailing

Maciej Stachowiak mjs at apple.com
Sun May 27 15:32:10 PDT 2007

On May 27, 2007, at 11:10 AM, Charles Iliya Krempeaux wrote:

> Really there are different sources a thumbnail can come from.
> A thumbnail can come from a video.  But it could also come from a
> (static) image.
> So... to distinguish between these different types of thumbnails, I've
> added a class-video to the <q> element.  (I suppose if you have a
> thumbnail from a static image you could add class-image... but
> anyways....)
> So, our example from before becomes...
>    <q class="video" cite="http://example.com/video"><img
> src="http://example.com/thumbnail.jpg" /></q>
> Or if you want that pretty-printed...
>    <q class="video" cite="http://example.com/thevideo">
>        <img src="http://example.com/thumbnail.jpg" />
>    </q>
> Comments?  Critisizms?  Opinions?

I don't think this is a very natural use of the <q> element. A  
thumbnail isn't really like a quote of a prose fragment. Consider  
that you would never put a thumbnail in quotation marks. Also, <q  
cite=""> does not generally result in a clickable hyperlink, and <q>  
adds rendered quotes in some browsers but not others. If you want the  
full video to be clickable, what you might want is:

<a rev="thumbnail" href="http://example.com/video">
   <img src="http://example.com/thumbnail.jpg">

Or, since rev is confusing and semi-deprecated, you could use  
rel="full-video" or something like that; there's no very good  
opposite to "thumbnail" unfortunately.


More information about the microformats-discuss mailing list