Re: [css-content]: video

> On 3 Jul 2016, at 1:55 AM, Brad Kemper <brad.kemper@gmail.com> wrote:
> 
>> 
>> On Jun 13, 2016, at 5:34 PM, Dean Jackson <dino@apple.com <mailto:dino@apple.com>> wrote:
>> 
>> 
>>> On Jun 13, 2016, at 5:26 PM, Garrett Smith <dhtmlkitchen@gmail.com <mailto:dhtmlkitchen@gmail.com>> wrote:
>>> 
>>> 
>>> 
>>> On Mon, Jun 13, 2016 at 3:58 PM, Dean Jackson <dino@apple.com <mailto: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. 
>> 
>> I suggest it that it should be equivalent to GIF. No audio. No interaction. No worse, but an improvement in quality, asset download size and system resources (if implemented correctly).
> 
> hat sounds reasonable to me.

Hats are very reasonable, especially in summer.

WebKit might implement this soon.

Dean

Received on Sunday, 3 July 2016 11:29:32 UTC