You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

  • "Sudarchikov Andrey" started this thread

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message


Thursday, May 9th 2013, 10:03am

Detect viewer load possible

Hi! Klaus!
Is there a way to detect that krpano viewer can't work on some device?
I know there is isFLASHpossible and isHTML5possible
i do so

var flash = viewer.isFLASHpossible();
var htlm5 = viewr.isHTML5possible();
if(flash || html5) {

but it's not enough,
krpano loaded but show me error "FATAL ERROR: A browser with CSS 3D transforms or WebGL support is required".
But I want to catch this and redirect user to different html page or show my own custom message instead of viewer load with error.
Please give some advice of how to do it.
Is there a way to detect isCSS3Dpossible() or isWEBGLpossible() ?

Unsupported Devices:
Sony Xperia Play, Android 2.3.3

LG - P925, Android 2.2.2 (125)

Thanks in advance.

VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread


Thursday, May 9th 2013, 11:49am


when getting a 'FATAL ERROR' when the html5 viewer was already embedded and started - this means the 'isHTML5possible' check was okay...

but it's strange that then the message 'A browser with CSS 3D transforms or WebGL support is required' appears - the html5 viewer makes the same html5-support checks like the embedding script...

Does is only not work on these devices or generally not? (Btw - which browser were used on these devices)
Link for testing?

Best regards,