mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.
https://pannellum.org/
MIT License
4.22k stars 716 forks source link

some android browser throw maxWidth error #1228

Closed JohnnieFucker closed 5 days ago

JohnnieFucker commented 1 month ago

the gl.getParameter(gl.MAX_TEXTURE_SIZE) returns 0 as the maxWidth, is there any idea for this problem? Screenshot_2024-08-03-11-39-22-966_com tencent wework and another problem is in some android browser,it can loading the image, but it comes to white backgroud when tap on the screen. afbc72beb6e042fcd6b329959402cd10_compress

the test url is https://aichat.cgboiler.com/static/pan_index.html

mpetroff commented 1 month ago

the gl.getParameter(gl.MAX_TEXTURE_SIZE) returns 0 as the maxWidth, is there any idea for this problem?

Your browser doesn't properly support WebGL. I'm not sure what else to tell you.

and another problem is in some android browser,it can loading the image, but it comes to white backgroud when tap on the screen.

The sad face icon in the top left of the canvas apparently means that Chrome's rendering process crashed: https://superuser.com/questions/1440281/sad-face-with-x-for-eyes-in-chromeos-kiosk

Given the lack of a URL bar, neither of the screenshots look like a browser to me.