W3C home > Mailing lists > Public > www-validator@w3.org > September 2011

<audio> providing multiple alternate media resources using <source src= broken in validator

From: jonathan chetwynd <j.chetwynd@btconnect.com>
Date: Sun, 18 Sep 2011 18:38:19 +0100
Message-Id: <12FDA0DA-2D93-4973-8EDB-4C6CEBD1A9E1@btconnect.com>
To: www-validator@w3.org
see attached file,

according to the specs** and current usage the code in the attached reduced testcase is the appropriate way to enable a variety of browsers using different sound formats.

however this trestcase raises errors with the current validator.


Jonathan Chetwynd


+44 (0) 20 7978 1764


<audio controls="controls">
  <source src="song.ogg" type="audio/ogg" />
  <source src="song.mp3" type="audio/mpeg" />
Your browser does not support the audio element.


** "The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."

please copy me into replies
Received on Sunday, 18 September 2011 17:39:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:31:07 UTC