Questions tagged [readiumjs]

ReadiumJs is a javascript library and viewer for EPUB 3 rendering optimized for use to render EPUB files directly from websites and in browser-based "cloud" readers. Using ReadiumJS does not require any server-side infrastructure or browser plug-ins. ReadiumJS shares common JS modules with the Readium SDK project which targets native apps.

9 questions
2
votes
0 answers

ePub.js - can't open certain books

I am trying to run ePub.js on my local system using Node.js and NPM and getting issues while trying to open the ePub files. In a very basic setup, I am using their existing example of Moby-dick book at…
Anton Unt
  • 1,835
  • 1
  • 21
  • 47
2
votes
1 answer

Using Readium in WebApp

I am trying to build an web application to read epubs using readium js but the problem is i can not find an appropriate example. If anyone knows an example in javascript or C# to achieve the same please help me out.
Vikas
  • 141
  • 1
  • 12
1
vote
1 answer

get only visible elements inside an iframe

Lets say that I have an iframe that renders some html that I provide. The iframe has a fixed height. It renders what it can inside it's height and shows scrollbar for the rest. My question is, how can I fetch the html contents of the iframe that are…
Muhammadpen
  • 55
  • 2
  • 10
1
vote
1 answer

How do I execute Javascript with parameters using wkWebView in Objective C?

I am currently trying to use: NSString* arg = [NSString stringWithFormat:@"ReadiumSDK.reader.openSpineItemElementCfi(%@,%@,)", val1,val2]; [self executeJavaScript:arg completionHandler:nil]; but this throws an error.
Shital
  • 45
  • 1
  • 8
1
vote
1 answer

Install Readium Cloud Reader on a Ubuntu web server

So ive been trying for a while to install readium cloud reader. I ran into a few problems I fixed and I thought I installed it correctly but I cant seem to get any of my unzipped or zipped epubs to work. Here are the instructions for installation I…
Zayd Bhyat
  • 101
  • 1
  • 2
  • 19
0
votes
0 answers

Get total pages and current page of epub on Android - using Readium

I use readium to stream Epubs and show in my Android application. It streams one chapter at a time so you can't access the whole book at a particular time. I wonder if Readium api or any other solution for showing epubs on Android provide ways to…
cuneyttyler
  • 1,255
  • 2
  • 17
  • 27
0
votes
1 answer

Readium js viewer config language

How do i configure the language from readium js viewer to translate the buttons in the audio player. This is my current configuration: config : { 'readium_js_viewer/ModuleConfig' : { 'fonts': fontsArray, 'useSimpleLoader'…
ValRob
  • 2,584
  • 7
  • 32
  • 40
0
votes
0 answers

Webview error using Readium 2 for android

I'm trying to use readium 2 library for my android project. I cloned r2-workspace-kotlin repo. I launched the app on some of my test devices. I noticed that on one device the app is unable to render some pages. Instead of what should be a page of…
Egis
  • 5,081
  • 5
  • 39
  • 61
-3
votes
1 answer

Complex javascript function, how can I use it?

I found the following pattern but i'm not sure how to call this one. test(var1, { subTest1: test1Function(function(var2) { // elided }), subTest2: test2Function(html) { // elided } }); I need to call subTest1, how…