\r
protected function _getRegExpManifest($r, $book, $theme, $resolution) {\r
$reg = array();\r
- $reg['loading'] = array('^' . $r . 'style/(.*).css$', '^' . $r . 'index.html$', '^' . $r . 'data/style/(.*)$', '^' . $r . 'data/(.*).js$', '^' . $r . 'data/images/' . $theme->parametres->logoLoader . '$', '^' . $r . 'style/fonts/(.*).ttf$', '^' . $r . 'data/images/interface-down.svg$');\r
- $reg['extras'] = array('^' . $r . 'data/links/(.*)$', '^' . $r . 'data/(.*).pdf$', '^' . $r . 'cover.jpg$');\r
+ $reg['loading'] = array('^' . $r . 'style/(.*).css$', '^' . $r . 'index.html$', '^' . $r . 'data/style/(.*)$', '^' . $r . 'data/(.*).js$', '^' . $r . 'data/images/' . $theme->parametres->logoLoader . '$', '^' . $r . 'style/fonts/(.*).ttf$', '^' . $r . 'data/images/interface-down.svg$', '^' . $r . 'plugins/(.*)$');\r
+ $reg['extras'] = array('^' . $r . 'data/links/(.*).mp4$', '^' . $r . 'data/links/(.*).ogv$', '^' . $r . 'data/links/(.*).webm$', '^' . $r . 'data/(.*).pdf$', '^' . $r . 'cover.jpg$');\r
$reg['thumbnails'] = array('^' . $r . 'data/thumbnails/p(\d+).jpg$');\r
for ($i = 1; $i <= $book->parametres->pages; $i++) {\r
$var = 'content_' . $i;\r
$reg[$var] = array('^' . $r . 'data/background/\d+/t' . $i . '.jpg$', '^' . $r . 'data/contents/p' . $i . '.svg$');\r
}\r
- $reg['urgents'] = array('^' . $r . 'images/(.*)$', '^' . $r . 'data/images/(.*)$');\r
+ $reg['urgents'] = array('^' . $r . 'images/(.*)$', '^' . $r . 'data/images/(.*)$', '^' . $r . 'data/links/(.*).jpg$', '^' . $r . 'data/links/(.*).png$');\r
$reg['loading'] = array_merge($reg['loading'], $reg['urgents']);\r
\r
+\r
$exclude = array();\r
if ($resolution == 150) {\r
$er = 300;\r
$this->daoBook = new wsDAOBook($core->con);
$this->book = $this->daoBook->selectById($book_id);
+ $this->book->parametres->mobileVideosPath = '';
$this->pages = $this->daoBook->getPagesOfBook($book_id);
if ($this->book->parametres->mobileVersion == 'html5-images') {
}
$scripts = array();
- $scripts[] = '<script type="text/javascript" charset="utf-8" src="http://argo.fluidbook.com:8234/target/target-script-min.js#fb_html5_'.$this->book_id.'"></script>';
+ $scripts[] = '<script type="text/javascript" charset="utf-8" src="http://argo.fluidbook.com:8234/target/target-script-min.js#fb_html5_' . $this->book_id . '"></script>';
foreach ($this->debugJsFiles as $js) {
$scripts[] = '<script type="text/javascript" charset="utf-8" src="' . $js . '"></script>';
}