I agree with Ape and did something similar a long time ago with a page that said something like "detecting a flash player ..." and waited 20 seconds for the swf file to load and immediately redirect the browser from the page.
If the timer expires (swf never started), it will prompt the user to install Flash.
You could combine this approach with the swfobject hasFlashPlayerVersion () function that you talked about. If they have a flash, but swf never loads, then it's safe to assume that the flash is disabled.
, 3 :
:
var hasFlash = detectFlashPlayerInstalled();
var flashEnabled = false;
var isDisabled = hasFlash && !flashEnabled;
javascript, :
function flashAlive() {
flashEnabled = true;
}
function detectFlashPlayerInstalled() {
return swfobject.hasFlashPlayerVersion(VERSION);
}
swf , :
getURL("javascript:flashAlive();");
, .