Quote:
Originally Posted by kovidgoyal
Released another preview: Major features: Viewer can now play m4a audio files and in dark mode the scrollbar has improved contrast. Lots of minor bug fixes as well.
|
Thanks a lot for the new scrollbar for dark mode.
Now, about the audio overlay. I noticed two things:
1) Some short sentences (one or two words) tend to get a wrong audio markup. Example:
HTML:
Code:
<p class="texto"><span id="cttsw-33">– Claro. </span><span id="cttsw-34">Eu tenho passagem pela prisão, então se algum crime tiver sido cometido, eu devo ser a responsável.</span></p>
SMIL:
Code:
<par id="par-33">
<text src="74.xhtml#cttsw-33"/>
<audio src="74.xhtml.m4a" clipBegin="00:01:28.61" clipEnd="00:01:28.549"/>
</par>
Notice the 'clipBegin' and 'clipEnd' timings. Because of this, the sentence is not highlighted when reading aloud in the viewer (and stops highlighting altogether in ADE).
2) In the OPF, the 'media:duration' property is only set for the last smil file. The read aloud works just fine in calibre, but I don't know if this could cause an error on other reading devices.