$metaURL = BookReader::jsMetadataURL($server, $identifier, $mainDir, $subPrefix);
$locateURL = BookReader::jsLocateURL($identifier, $subPrefix);
+ $coverThumb = 'http://www.archive.org/download/' . $identifier . '/'. $subPrefix . '/page/cover_w114.jpg';
+ // startup-up-image must be exactly 320x460
+ //$startupImage = 'http://www.archive.org/download/' . $identifier . '/'. $subPrefix . '/page/cover_w512.jpg';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<head>
<meta name="viewport" content="width=device-width, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
+ <meta name="apple-mobile-web-app-status-bar-style" content="black" />
+ <link rel="apple-touch-icon" href="<? echo($coverThumb); ?>" />
<title><? echo $title; ?></title>
<!--[if lte IE 6]>
<meta http-equiv="refresh" content="2; URL=/bookreader/browserunsupported.php?id=<? echo($id); ?>">
var brConfig = {};
<? if ($uiMode == 'embed') { ?>
brConfig["mode"] = 1;
- brConfig["reduce"] = 8;
brConfig["ui"] = "embed";
<? } else { ?>
brConfig["mode"] = 2;