Customize the embed code
info
The HTML embed code can be customized by adding parameters to the URL in the SRC attribute of the IFRAME tag.
Global parameters
| Attribute | Type | Default | Description |
|---|---|---|---|
| mode | STRING | Display mode of the publication. Can be either viewer (full-sized publication), mini (interactive thumbnail) or empty. If empty, the publication will choose the appropriate mode according to its current size | |
| view | STRING | Force the startup view of the publication. This parameter overwrite the view selected in the publication properties. Can be either book (pageflip), slide (slideshow), scroll (vertical scrolling) or empty. If empty, the view selected in the publication properties will be used | |
| page | INTEGER | 1 | Open the publication at the specified page on startup |
| volume | INTEGER | 75 | Set the default publication volume for audio and video playback. From 0 to 100 |
| language | STRING | Set the publication localization. Can be either en (English), fr (French), es (Spanish), it (Italian), de (German), pt (Portuguese), ru (Russian). If empty, the publication will try to determine the most appropriate localization to use according to the user browser language | |
| skinurl | STRING | Specifies the URL of a custom skin XML file. This feature is only available to PREMIUM and PLATINUM accounts | |
| styleurl | STRING | Specifies the URL of a custom stylesheet. This feature is only available to PREMIUM and PLATINUM accounts | |
| shareurl | STRING | Specifies the URL to be shared by social networks (Facebook, Twitter, etc.). This feature is only available to PLATINUM accounts | |
| disablehistory | BOOLEAN | Disable the history management | |
| disablemousewheel | BOOLEAN | Disable the mousewheel capture | |
| wmode | STRING | Set the window parameter of the embed. Can be either window, opaque, transparent or empty | |
| zoommode | STRING | Set the default zoom mode. Can be either cursor (follow the cursor), drag (use drag and drop) or empty. | |
| cookies | BOOLEAN | true | Enable or disable cookies |
| disabletracking | BOOLEAN | false | Enable or disable Google Analytics and Matomo tracking |
| searchexactmatch | BOOLEAN | false | Enable search exact matching |
| searchfullwords | BOOLEAN | false | Enable search full words matching |
Mini parameters
| Attribute | Type | Default | Description |
|---|---|---|---|
| clickto | STRING | public | Specifies the behavior of the interactive thumbnail (mini) when the reader clicks on it. Can be either public (publication overview page on the Calaméo website), view (publication reading page on the Calaméo website), embed (open the publication directly in fullscreen), url (redirect to the URL defined by clickToUrl, only available to PLATINUM accounts) or empty |
| clicktourl | STRING | Specifies the URL to redirect the reader to when the interactive thumbnail is clicked (only available to PLATINUM accounts) | |
| clicktarget | STRING | _self | Specifies if the URL is opened in a new window or in the current window |
| autoflip | INTEGER | In seconds, interval between each automatic page change (0 = no change) | |
| allowminiskin | BOOLEAN | false | Enable the interactive thumbnail design customization (only available to PLATINUM accounts) |
| showsharemenu | BOOLEAN | true | Specifies if the Share menu should be displayed when the reader leaves the fullscreen mode for the mini mode. Can be either true, false or empty. If empty, the Share menu will be displayed |