-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Presentation Mode not working in Safari #4561
Comments
Any updates here? |
I just came across this video.js issue for fullscreen: what they say is that in Webkit one should use /cc @Snuffleupagus |
@CodingFabian Interesting find! |
adding this seems to fix it:
|
Hi, Safari or Chrome on ipad 8.4.1 doesn't show fullscreen button on the demo page (https://mozilla.github.io/pdf.js/web/viewer.html) . Is this problem solver or not? |
If the button is not showing, then we have detected that presentation mode is not working and we have disabled it to avoid problems with browsers that do not (fully) support the Fullscreen API. |
HI, Is there any possible solution for this issue? |
This is not working (anymore) on newest Safari and iOS version. The button is not shown, and if I disable the check to show it there is nothing happening after I click on it. You can test this by opening Safari on your iPhone and navigating to the pdf.js demo here: https://mozilla.github.io/pdf.js/web/viewer.html |
Hello,
Just me again... your friendly-neighborhood bug reporter ;)
It appears that Presentation Mode (aka Fullscreen mode) isn't working in Safari (at least not on MacOS).
I found this SO issue and it seems to apply: http://stackoverflow.com/questions/8427413/webkitrequestfullscreen-fails-when-passing-element-allow-keyboard-input-in-safar
Basically, if you drop
Element.ALLOW_KEYBOARD_INPUT
from the call towebkitRequestFullScreen
it sort of works. E.g.I doesn't render well though… e.g. if the developer bar was open at the bottom when
webkitRequestFullScreen
is called, then there's a gap in the fullscreen view where the dev bar was.Could we maybe hide the Presentation Mode in Safari until it can be rendered correctly?
The text was updated successfully, but these errors were encountered: