Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MediaOverlay is not work #140

Open
lgst opened this issue Apr 23, 2018 · 1 comment
Open

MediaOverlay is not work #140

lgst opened this issue Apr 23, 2018 · 1 comment

Comments

@lgst
Copy link

lgst commented Apr 23, 2018

I can't find enable MediaOverlay's code in the SDKLauncher-Android, how enable it?
Where there are API Document,SDKLauncher-Android too simple,but I couldn't find the document!
Thank you!

@danielweck
Copy link
Member

danielweck commented Apr 26, 2018

Play/Pause/Previous/Next buttons for EPUB3 MediaOverlays (synchronized highlighted text/audio "talking books") are available in the user interface when a publication is successfully loaded with the required MO metadata, SMIL files, etc.

See mIsMoAvailable, mIsMoPlaying, mo_previous, mo_next, mo_play, mo_pause (etc.) in:
https://github.com/readium/SDKLauncher-Android/blob/develop/SDKLauncher-Android/app/src/main/java/org/readium/sdk/android/launcher/WebViewActivity.java#L784

Otherwise, maybe playback fails for another reason, and I wonder if this is a related issue: readium/readium-js-viewer#681

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants