[css-content]: video

Ana Tudor tweeted today [1]

"""
CSS wish: to be able to do this:

div:before {
  content: url(video.mp4);
}

It works for images, so why not for video too?
"""

My initial thought was that such a video would be inaccessible and probably
a lot worse than an image because videos have to be interactive.  However,
 the third example in the intro of CSS Generated Content Module Level 3[2]
seems to imply that content can be a .mov which is a video format and some
folks on twitter showed me things like 'using a video as a background' (but
that seems like a different case than content to me and a whole other ball
of wax).

So, I guess... It does seem plausible that somehow 'decorative' video which
was not interactive at all would show there and I think that is what the
example is showing...  I suppose what I am wondering at this point:  Am I
reading the example correctly and are we expecting that might work - and be
inherently non-interactive/inert as it is decorative?

1 - https://twitter.com/anatudor/status/742052107289808896
2 - https://www.w3.org/TR/css-content-3/#intro


-- 
Brian Kardell :: @briankardell

Received on Sunday, 12 June 2016 23:57:34 UTC