View Single Post
Old 05-20-2015, 06:51 AM   #1
MikeT!
Junior Member
MikeT! began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2015
Device: Kobo
Angry Epub3 and Smil - Problem

Hi everyone, i'm a new member

I've a problem with smil file, i've insert all things with Sigil but Azardi won't play the file .mp3!

In the OPF file i have
Code:
 
[..]
 <meta property="media:duration" refines="#path_overlay">50.574s</meta>
    <meta property="media:active-class">media</meta>
[..]
    <item href="Text/Section0003.xhtml" id="Section0003.xhtml" media-overlay="path_overlay" media-type="application/xhtml+xml" />
[..]
    <item href="Misc/Section0003.smil" id="path_overlay" media-type="application/smil+xml" />
In the .xhtml file
Code:
 
[..]
 <h2 class="title1" id="heading_id_3">I. Come andò che maestro Ciliegia, falegname, trovò un pezzo di legno, che piangeva e rideva come un bambino.</h2>

  <div class="img">
    <img alt="Pinocchio e Geppetto" src="../Images/img0001.png" /><br />
  </div>

  <p id="sentence01"><span class="title">C’</span>era una volta...</p>

  <p class="testo_dialogo" id="sentence02">– Un re! – diranno subito i miei piccoli lettori.</p>
[..]
In the CSS
Code:
[..]
.media {
    background-color: #abc;
}
[..]
And the file SMIL is
Code:
<smil 
     xmlns="http://www.w3.org/ns/SMIL"
     xmlns:epub="http://www.idpf.org/2007/ops"
     version="3.0">
    <body>

			<par id="heading_id_3">
				<text src="../Text/Section0003.xhtml#heading_id_3"/>
				<audio src="../Audio/collodi_pinocchi_sil_02_cap01.mp3" clipBegin="37.000s" clipEnd="39.000s"/>
			</par>

			<par id="sentence01">
				<text src="../Text/Section0003.xhtml#sentence01"/>
				<audio src="../Audio/collodi_pinocchi_sil_02_cap01.mp3" clipBegin="39.000s" clipEnd="41.000s"/>
			</par>
[..]
Two hours trying to figure out what is the problem but nothing, i think that is all ok! But when i'm going to open the file with Azardi, there is no possibity to play audio..
If you want more code tell me, i insert only the (for me) important line..
Thank's in advance for any response..
MikeT! is offline   Reply With Quote