Administrator
Last active last week
You probably copy/pasted code from outside PubCoder, and it is complaining that it contains non XHTML-compliant characters definitions.
Hello Ran,
I believe you setup everything correctly on XPUB, but since you are exporting for Android you must apply the same settings to the Android tab in the Project Setting window.
https://docs.pubcoder.com/pubcoder_renditions.html#exporting-renditions
Hello Ran, try to reinstall pubcoder, it seems it's missing some files
Hello Anastasia, not universally on every format or using default actions at the moment.
BUT...
If you need it in an HTML, XPUB, iOS or Android export, you can achieve this using a Run JavaScript action on a Load event with this code:
XPUB.callAppMethod("StartReadAloud", []);
The example project I gave you will start an action list on keypress, just place a "Go To Page" action in the action list.
Hello Bob,
yes you can bind keyboard events via javascript and ythen trigger, for example, "Run Action List" event on an action list. Here's an example of the code:
I've made a small example project for you, here's the link to the live preview , here's the one to the pubcoder file , to see the above code, go to page 2 then click "Code" → "Page Code".
As for the chromecast, if you put a video in the project we use the default video player so you should be able to.
Best Regards,
Angelo
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