View Single Post
Old 10-20-2011, 12:47 PM   #1
Oxford-eBooks
Zealot
Oxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of light
 
Posts: 138
Karma: 12096
Join Date: May 2010
Device: Loads!
Angry EPUBCHECK 3.0b2 won't accept <audio>

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>
Oxford-eBooks is offline   Reply With Quote