Mobileread
epub3 smil stop playing automatically
#1  huaimutou 02-14-2020, 09:31 PM
<smil version="3.0" xmlns="http://www.w3.org/ns/SMIL" xmlns:epub="http://www.idpf.org/2007/ops">
<body>
<seq epub:textref="../Text/Section0001.xhtml" epub:type="bodymatter chapter" id="ptm1">
<par id="a1"><text src="../Text/Section0001.xhtml#a001" />
<audio clipBegin="00:00:00.00" clipEnd="00:00:16.36" src="../Audio/QPD.mp3" />
</par>
<par id="a2"><text src="../Text/Section0001.xhtml#a002" />
<audio clipBegin="00:00:16.36" clipEnd="00:00:33.11" src="../Audio/QPD.mp3" />
</par>
<par id="a3"><text src="../Text/Section0001.xhtml#a003" />
<audio clipBegin="00:00:33.11" clipEnd="00:00:39.51" src="../Audio/QPD.mp3" />
</par>

</seq>
</body>
</smil>

How can I stop automatically after each segment, and click to start the next segment?

thank
Reply 

#2  Hitch 02-16-2020, 12:36 AM
Can you make your request a bit clearer? Are you saying that your mp3 clips simply play, one after the other? That they're NOT stopping after each segment?

In which devices are you testing?

Hitch
Reply 

#3  huaimutou 02-17-2020, 10:18 AM
Quote Hitch
Can you make your request a bit clearer? Are you saying that your mp3 clips simply play, one after the other? That they're NOT stopping after each segment?

In which devices are you testing?

Hitch
It will continue to play until the end of the playlist. I want to automatically stop at each segment. I click to play. How do I do that? Thank you very much.
Reply 

#4  Hitch 02-17-2020, 02:30 PM
Quote huaimutou
It will continue to play until the end of the playlist. I want to automatically stop at each segment. I click to play. How do I do that? Thank you very much.
I freely admit I'm not as familiar with ePUB3 audio files and SMIL as I am ePUB2. Where is the duration set? In ePUB2, it was set in the package files; where is it set in ePUB3?

Hitch
Reply 

Today's Posts | Search this Thread | Login | Register