Epub Reader Publication Options
Options related to processing and presentation of EPUB publications.
Constructors
Properties
Additional locator URLs that should resolve to the ReaderPublication when calling methods with locator parameters, such as ReaderView.goTo(), ReaderViewAnnotationLayer.createAnnotation()
Sets if content document scripting should be allowed. Content documents with scripts executes inside a sandbox iframe.
Options controlling clipboard actions.
Options used for configuring ContentBlocks in this ReaderPublication.
A collection of options related to content processing that do not belong in any specific category.
Extra CSS to inject into all content documents of the publication. This can be used to fix publications with problematic CSS.
The base URL that should be used by the ReaderPublication when it creates new Locators.
Options controlling how reflowable documents can be split into sections prior to reflowing. This can greatly increase performance for publications with very long content documents. The downside is that each split will look like a page break in the rendered content. To mitigate the impact of these page breaks on the reading experience, you can control where and how often these breaks will occur by using these options.
All Elements and Attributes in reflowable content-documents are processed through a whitelist filter to prevent unsafe scripting.
If streaming of audio and video using the Media Source Extensions API (MSE) should be used. See https://developer.mozilla.org/en-US/docs/Web/API/Media_Source_Extensions_API
Options controlling which publicationStyleOptions
set by calling ReaderView.setOptions()
that should apply to fixed-layout documents.
If "pointermove" PointerEngineEvents should include the contentLocation property.
Options related with EPUB media overlays
The algorithm to use for estimating the number of pages in content documents. Note: This option is only checked when calling load publication.
If set to true, the reading system will prevent the default "right-click" and "long-press" context menus to be shown for publication content.
If the default context-menu should be prevented when right-clicking or long pressing: images, video or audio elements
Sets if users should be able to "drag-and-drop" content from the publication.
Options configuring how the reflow engine divide content documents into pages. These options will be further documented in a future version of the framework.
Options for controlling remote resources in the publication for non-scripted content-documents.
Options for controlling remote resources in the publication for scripted content-documents.
Options related to splitting up text nodes in order to increase performance when reflowing an EPUB that has very long text nodes.