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

rendition orientation not supported #75

Open
danielweck opened this issue Jul 29, 2014 · 2 comments
Open

rendition orientation not supported #75

danielweck opened this issue Jul 29, 2014 · 2 comments

Comments

@danielweck
Copy link
Member

@danielweck danielweck added this to the v1+ milestone Jul 31, 2014
@danielweck
Copy link
Member Author

Firefox implements the screen API:
window.screen.lockOrientation('portrait')
https://developer.mozilla.org/en-US/docs/Web/API/Screen.lockOrientation

Demo: http://aurelio.audero.it/demo/screen-orientation-api-demo.html

@rkwright rkwright modified the milestones: m1.2, m1.1 Oct 24, 2014
@danielweck
Copy link
Member Author

Clarification:

Readium currently does not support this:
http://www.idpf.org/epub/fxl/#property-orientation

...but supports this:
http://www.idpf.org/epub/fxl/#property-spread

In other words, Readium is currently not able to force a given hardware/physical device
rotation (landscape or portrait) when the authored metadata requires so, but Readium does adjust
single page vs. double synthetic spread depending on the viewport
aspect ratio (which obviously changes when a tablet device is
physically rotated), and respects the author intent specified in OPF metadata (unless of course the user settings override the default / auto behaviour).

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

No branches or pull requests

2 participants