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

Would one of you folks like to file the bug to re-add it to HTML5.1?

From: Ian Devlin [mailto:ian@iandevlin.com]
Sent: Wednesday, February 12, 2014 2:54 AM
To: Silvia Pfeiffer
Cc: public-html@w3.org
Subject: Re: Do not remove the media attribute from the source element

>> Are you saying that all these browsers support @media on <video> and do the right thing?
The desktop browsers, yes, and those mobile devices that I have been able to test on (slightly less than the list I gave earlier) yes.
I will write to caniuse.com<http://caniuse.com> as mentioned.
That use case mentioned in the bug report alone is a very good reason to keep the media attribute.

On 12 February 2014 09:34, Silvia Pfeiffer <silviapfeiffer1@gmail.com<mailto:silviapfeiffer1@gmail.com>> wrote:
On Wed, Feb 12, 2014 at 7:04 PM, Ian Devlin <ian@iandevlin.com<mailto: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<http://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 Thursday, 13 February 2014 22:05:45 UTC