Re: several messages about poster frames

On Wed, 10 Oct 2007, Håkon Wium Lie wrote:
> 
> While on the subject of pragmatic attributes, I would also like to
> propose another attribute -- still -- to point to an image that is
> shown until the video itself is played. The current specification
> indicates that the first frame of the video should be used for this.
> Often, the first frame will be black or otherwise not representative
> for the video that follows. Being able to explicitly set a still image
> is a basic function in my DVD recorder; this is very useful as the
> first frame of my home video snippets are often blank.

Done (called it poster="" since it's generally called a poster frame).


> The HTML5 spec, in section 3.4.6 has an example showing how to encode 
> still images:
> 
>   <p>
>    <input type="image" src="frame.png" alt="Play Video"
>      onclick="   if (nextSibling.load) nextSibling.load();
>                  disabled = true;
>                  return false;"
>    ><video src="video.ogg" controls="" irrelevant=""
>      onloadedfirstframe="
>                  irrelevant = false;
>                  previousSibling.irrelevant = true;
>                  autoplay = true"
>      onerror="   parentNode.irrelevant = true;
>                  parentNode.nextSibling.irrelevant = false">
>    </video>
>   </p><p irrelevant="">
>    Playback unavailable.
>    <a href="video.ogg">Download Video</a>
>   </p>
> 
> This seems complex to me; I'm a simple person.

Hakon my friend, you are far from simple. :-P

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 26 October 2007 00:43:13 UTC