W3C home > Mailing lists > Public > www-style@w3.org > June 2016

Re: [css-content]: video

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Mon, 13 Jun 2016 17:26:54 -0700
Message-ID: <CABZUbM2TnZ0iLfDy-MfEHxoHJEAcCYfg_AQpN8cobprueW5mxw@mail.gmail.com>
To: Dean Jackson <dino@apple.com>
Cc: Brian Kardell <bkardell@gmail.com>, "www-style@w3.org" <www-style@w3.org>
On Mon, Jun 13, 2016 at 3:58 PM, Dean Jackson <dino@apple.com> wrote:

> I think both <img src="cutekittens.mp4"> and
> url(cutekittens-v-bulldozer.mp4) should be supported. We've done some
> internal prototypes and it's very nice.
>
> I'm not sure about media controls on the <img> case. I think we should
> start with something that is the same behaviour as a GIF is today.
>
>
If it's possible to harness such powerful control over the browser, people
will do it in the worst way possible. They might even use JS libraries and
then call it a best practice for ads, etc that the user can't see and
cannot stop.

The `content` property doesn't seem like a good place to declare media for
CSS. Thinking if you want :active to trigger audio, etc and have that be
presentation-only.
-- 
Garrett
Guitar Videos https://www.youtube.com/channel/UCY_uK9hur86KEuiG8s7yvWw
@xkit
Received on Tuesday, 14 June 2016 00:27:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:47 UTC