Re: [css-content]: video

> On Jun 13, 2016, at 5:26 PM, Garrett Smith <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).

Dean

Received on Tuesday, 14 June 2016 00:35:16 UTC