Hi all

I'm creating a book in epub format and I need to link to **external audio files**.
Using local files is not an option, because I want to keep the epub small and easy to share.

After a few tests I see that the external link is correct when using the HTML output.
When I use epub, however, the terminal output says that it could not find media and skipped it. I extracted the XHTML file in the epub and it contains a not existent file path:

<audio controls>
<source type="audio/mpeg" src="media/file0.mp3">
</audio>

Please note that the file I'm testing is on Dropbox and doesn't have a "regular" URL. As explained in the Dropbox help pages¹, you must add ?dl=0 to cause the browser to donwload the file instead of viewing the Dropbox web page. As I said, this link works fine in HTML but it doesn't in the EPUB format.

I could find only this previous discussion² and it doesn't help.

Thanks in advance
Federico

¹ https://www.dropbox.com/help/201
² https://groups.google.com/forum/#!searchin/pandoc-discuss/epub$20external$20files/pandoc-discuss/DY4StO5j6o4/ZofZX8eYeM8J

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9bfbe401-688f-4aaf-bf96-ad4138998aef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.