[whatwg] Dynamic pseudo-classes on video/audio element to allow styling of controls

Robert O'Callahan robert at ocallahan.org
Mon Apr 25 19:13:07 PDT 2011


On Mon, Apr 25, 2011 at 4:04 PM, Dimitri Glazkov <dglazkov at chromium.org>wrote:

> Based on WebKit's current media controls, let's start with these
> pseudo-classes:
>
> Play state:
> - loading
> - playing
> - streaming
> - error
>

What's the difference between 'playing' and 'streaming'? Currently I don't
think we have anything that defines this in the spec.

Capabilities:
> - no-audio
> - no-video
> - has-closed-captioning
>

Wouldn't it be better to have "has-audio" and "has-video" instead? Positive
terms usually work better than negated terms.

Rob
-- 
"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]



More information about the whatwg mailing list