So. I have my fixed-layout EPUB set up properly, fonts embedded, 15 tests and passed all preflights, and I’ve edited my audio tracks. The audio files are called out properly in the HTML files. This is a prototype destined for iBooks first, and may be redone for other tablet devices later.
Here’s the problem. I have my audio files positioned at the bottom of the right-hand page on each spread. The controller is visible on every recto. When I tap the Play arrow on the controller on page 1 (the half title page), the audio plays. When I tap the Play arrow on the controller on any other page, there is silence. This is driving me nuts, as I suspect it’s some small thing I’m just not getting.
Here’s my CSS for the div that positions the controller:
div.audio-frame {
position:absolute;
height: 60px;
width: 60px;
left: 58px;
top: 654px;
}
Here’s the HTML for one of the pages with image, text, and the audio file. Every page is set up like this. Only the even-numbered pages have the additional audio element:
<?xml version=”1.0″ encoding=”UTF-8″ standalone=”no”?>
<html xmlns=”https://www.w3.org/1999/xhtml”>
<head>
<meta name=”viewport” content=”width=512,height=768″></meta>
<title>peter_pajamas_10</title>
<link href=”css/peter_paja_idstyles.css” rel=”stylesheet” type=”text/css” />
</head>
<body id=”peter_pajamas_10″>
<div class=”frame-2″>

<p id=”p10-2″ class=”text”>Every hero has a family.<br /> This is Peter’s family.</p>
<div class=”audio-frame”>
<audio src=”audio/hero_p10.mp3″ controls=”controls”>
</audio>
</div>
</div>
</body>
</html>
Before anyone says anything about .leftside/.rightside for spread images and overflow, that’s something for the next time. I am aware of it, but there’s now a time crunch on this, and the audio is what’s important. Does anyone know WHY my audio is not playing on the other 31 pages where it’s positioned in this EPUB? I thought about using the ids that are assigned to the audio files in the manifest, but these cause the controls to fall off the page bottom. I don’t want these to autoplay.
Should I make a separate class for each audio div? Use an id? I’ve read so much and seen so much conflicting information elsewhere that I’m a little frustrated now. I’m grateful for whatever advice you may have. Thanks in advance.
By the way, I like the site redesign!