Re: [css-content]: video
Dean Jackson <[email protected]> Sun, 3 Jul 2016 21:28:55 +1000
| Newsgroups | gmane.comp.web.css.general |
|---|---|
| Message-ID | <[email protected]> |
> On 3 Jul 2016, at 1:55 AM, Brad Kemper <[email protected]> wrote: > >> >> On Jun 13, 2016, at 5:34 PM, Dean Jackson <[email protected] <mailto:[email protected]>> wrote: >> >> >>> On Jun 13, 2016, at 5:26 PM, Garrett Smith <[email protected] <mailto:[email protected]>> wrote: >>> >>> >>> >>> On Mon, Jun 13, 2016 at 3:58 PM, Dean Jackson <[email protected] <mailto:[email protected]>> 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