react-pannellum icon indicating copy to clipboard operation
react-pannellum copied to clipboard

webkitRequestFullscreen is not working on mobile devices

Open reshmit3 opened this issue 2 years ago • 4 comments

https://github.com/hoaiduyit/react-pannellum/blob/18e7079e217c267fe9035f2e6d981c84f2e2c3a1/src/libs/pannellum.js#L2399

toggleFullscreen() is not working on a mobile device

TypeError: container.webkitRequestFullScreen is not a function. (In 'container.webkitRequestFullScreen()', 'container.webkitRequestFullScreen' is undefined)

reshmit3 avatar Jul 28 '22 20:07 reshmit3

hi @reshmit3 , I will resolve this asap

hoaiduyit avatar Jul 31 '22 03:07 hoaiduyit

Hi @hoaiduyit

Are there any updates regarding this fix? Is it going to be resolved any time soon?

idragutinovicgd avatar Aug 08 '22 10:08 idragutinovicgd

Hi, Do we have any updates on this?

reshmit3 avatar Aug 16 '22 18:08 reshmit3

The function name is actually webkitRequestFullscreen instead of webkitRequestFullScreen. So changing that might be enough to fix this issue.

unbelievableflavour avatar Aug 23 '22 07:08 unbelievableflavour