I'm having a play about with adding audio to ePubs but the new epubcheck won't allow the <audio> element.
The example below audio.xhtml parses just fine in a web browser (using an OGG in that instance, though I'll use an MP3 in the real ePUB).
Am I doing anything really DAFT here???
Andy
Code:
<?xml version='1.0'?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN' 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title></title>
<link rel='StyleSheet' type='Text / css' href='StyleSheet.css' />
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
</head>
<body>
<h2>Audio Test</h2>
<p><img src="images\chapter-i.png" alt="x" width="100px"/></p>
<p><audio src="Audio\sample.ogg" controls="controls">
Your browser does not support the audio element.
</audio></p>
</body></html>