MP3 defined in opf as media-type="text/plain
I was just experimenting with adding an mp3 to an epub with sigil and used my script to convert ePUB2 to ePUB3. Then I ran the resulting ePUB through epubcheck 3.0 and I got:
Epubcheck Version 3.0
Validating against EPUB version 3.0
"Audio element doesn't provide fallback"
That was the only error. When I examined the content.opf I noticed the mp3 is defined as text/plain in the opf. whereas I expected: audio/mpeg.
While I can (and probably will) adapt by script to correct for this issue I just wonder why Sigil supports adding media yet it puts the media as text/plain.
Is setting audio as text/plain an oversight or has it be done on purpose?
|