W3C home > Mailing lists > Public > www-style@w3.org > July 2012

Re: a :time pseudo-class for media elements (and examples on how it would be useful and generic)

From: François REMY <fremycompany_pub@yahoo.fr>
Date: Tue, 31 Jul 2012 14:00:02 +0200
Message-ID: <0529EBE5467D4653A61CA371E74A2462@FREMYD2>
To: "Julien Dorra" <juliendorra@juliendorra.com>, <www-style@w3.org>
I don’t know if other use-cases could benefit from this (maybe there are) but, at least, solving the subtitle (video captionning) problem is probably better done using the existing <track /> element. See http://blogs.msdn.com/b/ie/archive/2011/10/12/html5-video-captioning.aspx for more info.

Another idea to solve this broader kind of problem more efficiently than using a pseudo-class would be to be able to specify a timesource for animations that’s different from the computer clock.
  .video-related {
      animation-time-source: url(#videoID);
Best regards,
Received on Tuesday, 31 July 2012 12:00:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:19 UTC