Re:Jellyfish Simulation using Javascript, WebGL
by thwarted on Wednesday April 20, 2011 @01:17PM
(#2467468)
This is why we should be checking for capabilities/features and not version. And part of this is reporting the correct, helpful error message when the capability isn't there, and not just say they have the wrong version.
I still have this problem with 64 bit flash on Linux, which adobe has decided to use a different format version string for.
Re:Jellyfish Simulation using Javascript, WebGL
by rfurmani on Thursday April 21, 2011 @02:40PM
(#2471754)
It is checking for capabilities and not version:
try {
gl = canvas.getContext( "experimental-webgl") ;
gl.viewportWidth = docWidth;
gl.viewportHeight = docHeight;
} catch(e) {
}
if (!gl) {
alert("This website requires WebGL. Try running Chrome 9+ or Firefox 4+");
}
It's an error in the version detection.