Re: Do not remove the media attribute from the source element

On Wed, Feb 12, 2014 at 7:04 PM, Ian Devlin <ian@iandevlin.com> wrote:
> For info., I ran some quick tests to see what browsers currently support the
> media attribute as part of <source>:
> Latest versions of: Firefox, Chrome, Opera, Safari (5.1 on Windows and 6,
> 6.1 and 7 on Mac).
> IE9, IE10, and IE11.
> Default browsers on all iPad and iPhone variants.
> Default browsers on Android: SIII, Tab 2, Note II, and Nexus.

Are you saying that all these browsers support @media on <video> and
do the right thing?
If so, then it should indeed remain in the spec according to
cross-browser compatibility rules for features in the spec. After all:
the spec is there to describe what features are available in browsers.
At least it would need to be in HTML5.0. If all browsers decided to
remove it, it would then be deprecated for HTML5.1.


> As a side note, I also noticed that the popular caniuse.com website makes no
> mention of the 'media' attribute at all, which wouldn't have helped with
> people knowing about its existence.

It would be worth talking to them about it.

Also, if you have more indication that this feature actually has a
good use case and that people will make use of it, it thus it doesn't
fail the "Real Problems" test [1], that would help make a better case.

[1] http://www.w3.org/TR/html-design-principles/#solve-real-problems

I saw https://www.w3.org/Bugs/Public/show_bug.cgi?id=19619#c36 so
that's encouraging. Are there any other examples?


Cheers,
Silvia.

Received on Wednesday, 12 February 2014 08:35:09 UTC