Closed svargas-dev closed 3 years ago
Scrap that. I see the fullscreen API isn't supported by iPhones. Would be useful to have link to https://caniuse.com/fullscreen in the readme though
Hi Svargas, any work around for this issue. I also notice this package not working on iphone iOS.
hi, any update or work around for this?
Not working on ios mobile devices.
Getting this error:
element[vendor[key.requestFullscreen]] is not a function. (In 'element[vendor[key.requestFullscreen]]()', 'element[vendor[key.requestFullscreen]]' is undefined)
Issue still on:
TypeError: element[vendor[key.requestFullscreen]] is not a function. (In 'element[vendor[key.requestFullscreen]]()', 'element[vendor[key.requestFullscreen]]' is undefined)
iOS only supports it on iPad, however I think this hook could detect that and portal the content and add a class to it so it will at least mimic the behavior of a fullscreen instead of throwing errors.
Sadly I don't have time right now to make a PR, will implement in a scrappy way.
Works fine on desktop Chrome / Firefox but not on iOS Safari or iOS Chrome