Administrator
Last active 12 hours ago
Hello Craig,
you should have access to it when exporting the project, you don't have access to it in the quick preview, since it is a feature of the xreaderjs web reader, and the quick preview does not use the web reader.
Any way, the public js apis are in the pubcoder object but we cannot include info about renditions there, because the pubcoder object only includes functions and data shared by features available in every format using js, but not every format supports renditions in pubcoder (e.g. EPUB does not).
What we could do is including info about the current language, for example in pubcoder.project.language
, but frankly that's not in our roadmap at the moment.
Another approach that you can take is using different project titles for the different renditions, get the current title using pubcoder.project.title
and use that value to understand what language is active.
Hello Craig,
you should be able to access rendition information using xreaderjs.rendition
but beware that this (and actually anything inside xreader
and xreaderjs
objects) is internal code which could change in the future, breaking your code.
not sure what you mean, please send an email to support@pubcoder.com with a screenshot
I don't know if it's possible to intercept minimization of the window in javascript, but in case you succeed, you can stop the soundtrack in javascript using XPUB.startSoundtrack or XPUB.stopSoundtrack
please just try to use MP3 audio files instead of WAV.
Hello Stephen,
When pubcoder imports a pdf it imports it as images, as stated here https://docs.pubcoder.com/pubcoder_pdf.html#import-a-pdf-file , so it is not possible to add read aloud.
The text you see is there only to allow text search in the file
hello Aldo, I believe it does not work in the preview (due to new security policies) but should still work in exporting HTML or XPUB. Can you confirm this?
Hello Claire, sorry but that's not possible.
Hello Daniel, please write to support (at) pubcoder.com describing the problem and attaching your pubcoder project file and some screenshots
Yep, there's no "preload". PubCoder is optimized for books that can have hundreds of pages so preloading every asset would not work. Maybe you could try to optimize your images, take a look here: https://docs.pubcoder.com/pubcoder_troubleshooting_image_opt.html