Quote:
Originally Posted by kovidgoyal
No, calibre's UI cannot be accessed from book JS for obvious security reasons.
|
I tried various methods, but they came back with what looked like a wrapped version of the page with starting like this... {"version":1,"tree":{"n":"
Code:
audioPlayer.addEventListener("ended", function(e){
console.log("audio ended");
//window.open('part021.html', '_self');
//window.location.replace("part02.html");
//window.location.assign("part02.html");
//location.replace("part021.html");
//location.href = "part021.html";
});
Do you know of anyway around this?
Just for context, they are short one minute long language lessons with text and sometimes I like to listen in background while doing something else like make dinner and etc... So I'd just like for it to play through the book, page after page, without user interaction.