![]() Because of the aforementioned performance issues, development effort was never spent to implement this functionality. So, to solve this problem, the MO engine would need to query a single audio file URL (on the fly, as defined by the SMIL files), pointing to a resource that is in fact located inside the zipped EPUB container. The audio files are not actually preloaded by the readium-js document “fetchers”, simply because HTML documents do not reference these audio files (instead, the SMIL files do). The problem specific to Media Overlays is that audio files are loaded dynamically by the MO playback engine (which code is in readium-shared-js). Normally, the webview loads assets in a much smarter way, especially audio and video media (on-demand, incremental pre-fetching, loading, etc.). This is called “programmatic” fetching in the source code. You will see in readium-js document “fetchers” that when loading a packed / zipped EPUB, all the resources attached to an EPUB HTML file are statically loaded into “binary blobs”, which then replace src attributes in the HTML markup (using Blob URIs). 23 Mayo 2020 Readium es un proyecto ePub de código abierto desarrollado por desarrolladores de software, editores, DPO y la Fundación Readium.
0 Comments
Leave a Reply. |