Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 10-29-2012, 09:13 PM   #16
codevise
Junior Member
codevise began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2012
Device: ipad, kindle
Yeah, right. Altough I'd love to open-source it, it is our business not a hobby and it was a lot of work. And still is, as we often have to fix it when Apple releases a new version of iBooks and breaks simple webkit stuff. ;-)
Usually we get an audiobook WAV and a epub from our customers and generate the SMILs and package them with the JS.
Most expenses go to the SMIL part, as you might assume if you have already created some. The packaging and the JS software is a fixed royalty-free rate, its license is bound to the epub.
codevise is offline   Reply With Quote
Old 10-30-2012, 03:04 AM   #17
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
Ok, no problem, I completely understand.

Thanks for the info.
AlPe is offline   Reply With Quote
Advert
Old 11-28-2012, 04:47 PM   #18
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
For anyone following this thread: you might be interested in checking the following project out.

It is Dante's Divine Comedy, in three audio eBooks, one for each part of the poem: Hell, Purgatory and Heaven. Each eBook contains both the verses and the audio tracks, read by Prof. Lino Pertile (Harvard University), plus the SMIL files that allow Media Overlays, that is, text-audio sync.

You can download the EPUB 3 files, without DRM, for free here (the page is in English):

http://www.smuuks.it/index.php/en/pr...f-lino-pertile

where you can also see a screengrab and some screenshots.

Some statistics: 14233 verses, 14333 SMIL fragments, 13h of audio, 300+ MB.
AlPe is offline   Reply With Quote
Old 02-26-2013, 08:18 AM   #19
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
I've just updated the screengrab, showing how the Audio-eBook above is displayed by Readium. You can watch it at:

http://www.smuuks.it/index.php/en/pr...f-lino-pertile

or directly on Youtube: http://youtu.be/NVSe0Ce2iZg
AlPe is offline   Reply With Quote
Old 05-20-2013, 06:44 PM   #20
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
Alright, frustrated by the lack of support of Media Overlays in flowable EPUB 3 ebooks in iBooks, I wrote my own JS to emulate MO support on Apple's app.

I will release the JS soon with a complete example, I just need some time to polish the code a bit and add some init options.

Features (all at user's will) include:
1) autostart
2) assign CSS class to both active and paused SMIL element (possibly different, see the video)
3) a tap (or $n taps, with $n decided by the user) outside text fragments will pause/resume MO rendition or stop it and clear highlight

You can get the flavour from this video (apologies for the shaky hand): http://www.albertopettarin.it/misc/ttp.mp4
AlPe is offline   Reply With Quote
Advert
Old 06-11-2013, 05:51 AM   #21
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
If someone is interested, I have just released the JS previously mentioned, here:

https://github.com/pettarin/rb_smil_emulator

At the same time, I have updated the Audio-eBook "The Curious Case of Benjamin Button", adding this JS-enabled tap-to-play:

http://www.smuuks.it/index.php/en/pr...enjamin-button

Comments are welcome.
AlPe is offline   Reply With Quote
Old 06-11-2013, 06:17 PM   #22
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
Quote:
Originally Posted by AlPe View Post
If someone is interested, I have just released the JS previously mentioned, here:

https://github.com/pettarin/rb_smil_emulator

At the same time, I have updated the Audio-eBook "The Curious Case of Benjamin Button", adding this JS-enabled tap-to-play:

http://www.smuuks.it/index.php/en/pr...enjamin-button

Comments are welcome.
+1 for readium support
mzmm is offline   Reply With Quote
Old 05-30-2014, 12:19 PM   #23
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
For those who are still interested: I have updated the JS script, still available under the MIT License from my GitHub repo: https://github.com/pettarin/rb_smil_emulator

Now it also works in iBooks for both iOS and OS X.

Note also that now Readium ships a complete support for Media Overlays (and a nearly complete UI/UX), so the default behavior of my JS script is to abort if Readium is detected.

Several (111 !) complete EPUB 3 Audio-eBooks, containing this JS, can be found here: http://www.readbeyond.it/shortstories.html

Last edited by AlPe; 06-12-2015 at 05:18 AM.
AlPe is offline   Reply With Quote
Old 06-03-2014, 07:09 AM   #24
Jesver
Member
Jesver began at the beginning.
 
Jesver's Avatar
 
Posts: 10
Karma: 10
Join Date: Jul 2012
Location: Chennai
Device: ipad, Kindle, Nook, kobo
Quote:
Originally Posted by josephmwheeler View Post
Is there a way to hide the audio controls in ePub3? That is to say, I would like to click on the word and hear the audio rather than the control button. I have looked high and low and tested more times than I want to remember.

Thanks in advance.

Joe

Hi Joe,

have you try Js?
If not, pls check the below coding:

<script type="text/javascript">

function audplay() {
var video = document.getElementById("audio1");
var button = document.getElementById("play");
if (video.paused) {
video.play();
button.textContent = "audio playing";
} else {
video.pause();
button.textContent = "pause";
}
}

function restart() {
var video = document.getElementById("audio1");
video.currentTime = 0;
}

function skip(value) {
var video = document.getElementById("audio1");
video.currentTime += value;
}
</script>

</style>


</head>
<body>
<audio id="audio1" >
<source src="mpthreetest.mp3" type="audio/mp3" />

HTML5 Video is required for this example.
</audio>



<div id="buttonbar">

<a id="play" onclick="audplay()">start play</a>

</div>
Jesver is offline   Reply With Quote
Reply

Tags
audio, epub3


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any android epub reader supporting epub3 with audio/video/javascript? happycoding Android Developer's Corner 10 07-29-2014 11:16 AM
PRS-T1 music player controls m3l7d0wN Sony Reader 3 05-25-2012 03:14 PM
Lost My Very Long Post With Questions About PB 301 Controls vs PB 360 Controls Vienna01 PocketBook 6 06-04-2010 01:51 PM
Blackstone Audio to release audio books as DRM-free MP3s Donnageddon News 4 07-07-2008 12:16 PM


All times are GMT -4. The time now is 04:24 AM.


MobileRead.com is a privately owned, operated and funded community.