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

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.

regards 

  	
Jonathan Chetwynd

j.chetwynd@btconnect.com
http://www.peepo.com/

+44 (0) 20 7978 1764



<!DOCTYPE HTML>
<html>
<body>

<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.
</audio>

</body>
</html>

** "The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."
http://www.whatwg.org/specs/web-apps/current-work/#the-source-element

please copy me into replies

Received on Sunday, 18 September 2011 17:39:03 UTC