Re: [css-content]: video
Garrett Smith <[email protected]>
| Newsgroups | gmane.comp.web.css.general |
|---|---|
| Message-ID | <CABZUbM2TnZ0iLfDy-MfEHxoHJEAcCYfg_AQpN8cobprueW5mxw@mail.gmail.com> |
On Mon, Jun 13, 2016 at 3:58 PM, Dean Jackson <[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. -- Garrett Guitar Videos https://www.youtube.com/channel/UCY_uK9hur86KEuiG8s7yvWw @xkit