INDEX_EXT = '$index_ext';
FLASH_ALIVE = false;
FLASH_ALIVE_TIMEOUT = 0;
+ FLASH_ALIVE_WAIT = $flash_blocked_wait;
var backgroundColor = "$bgcolor";
if (!FLASH_ALIVE) {
$redirectMobile
}
- }, 1500);
+ }, FLASH_ALIVE_WAIT * 1000);
}
} else {
displayFlashFluidbook();
'keywords' => $keywords,
'allowNetworking' => $this->_allowNeworking,
'redirectIfFlashNotInstalled' => in_array($html5priority, array('true', 'notinstalled')) ? 'true' : 'false',
- 'redirectIfFlashBlocked' => $html5priority == 'true' ? 'true' : 'false'
+ 'redirectIfFlashBlocked' => $html5priority == 'true' ? 'true' : 'false',
+ 'flash_blocked_wait' => $this->book->parametres->flashBlockedWait,
);
$this->origHTML = $this->book->parametres->htmlPrepend . file_get_contents($this->vdir . '/index.html');
}
$filesToDelete = array('indext.html', 'indexu.html');
-// if ($this->book->parametres->mobileVersion == 'html5') {
-// $filesToDelete[] = 'data/background/*/t*.jpg';
-// $filesToDelete[] = 'data/background/contents/p*.html';
-// } else {
-// $filesToDelete[] = 'data/background/*/p*.jpg';
-// $filesToDelete[] = 'data/contents/p*.svg';
-// }
+ // if ($this->book->parametres->mobileVersion == 'html5') {
+ // $filesToDelete[] = 'data/background/*/t*.jpg';
+ // $filesToDelete[] = 'data/background/contents/p*.html';
+ // } else {
+ // $filesToDelete[] = 'data/background/*/p*.jpg';
+ // $filesToDelete[] = 'data/contents/p*.svg';
+ // }
$htmlFiles = array('index', 'widget');
foreach ($htmlFiles as $name) {