Angelo S

Administrator

Last active last week

  1. last week
    Thu Apr 18 10:24:06 2024

    You probably copy/pasted code from outside PubCoder, and it is complaining that it contains non XHTML-compliant characters definitions.

  2. Thu Apr 18 10:21:25 2024
    Angelo S posted in Switching languages.

    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

  3. Wed Apr 17 10:18:50 2024
    Angelo S posted in Failed to build - Android.

    Hello Ran, try to reinstall pubcoder, it seems it's missing some files

  4. 2 weeks ago
    Fri Apr 12 11:08:08 2024
    Angelo S posted in Read Aloud on by default?.

    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", []);
  5. 4 weeks ago
    Mon Mar 25 10:01:54 2024
    Angelo S posted in keyboard trigger and chromecast.

    The example project I gave you will start an action list on keypress, just place a "Go To Page" action in the action list.

  6. 5 weeks ago
    Fri Mar 22 10:14:14 2024
    Angelo S posted in keyboard trigger and chromecast.

    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:
    -image-
    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

  7. Mon Mar 18 17:48:37 2024

    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.

  8. 6 weeks ago
    Fri Mar 15 12:28:56 2024

    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.

  9. Fri Mar 15 12:14:25 2024
    Angelo S posted in How to word wrap text box.

    not sure what you mean, please send an email to support@pubcoder.com with a screenshot

  10. Fri Mar 15 12:13:25 2024
    Angelo S posted in Audio Stop.

    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

View more