Skip to main content

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​

AttributeTypeDefaultDescription
modeSTRINGDisplay 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
viewSTRINGForce 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
pageINTEGER1Open the publication at the specified page on startup
volumeINTEGER75Set the default publication volume for audio and video playback. From 0 to 100
languageSTRINGSet 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
skinurlSTRINGSpecifies the URL of a custom skin XML file. This feature is only available to PREMIUM and PLATINUM accounts
styleurlSTRINGSpecifies the URL of a custom stylesheet. This feature is only available to PREMIUM and PLATINUM accounts
shareurlSTRINGSpecifies the URL to be shared by social networks (Facebook, Twitter, etc.). This feature is only available to PLATINUM accounts
disablehistoryBOOLEANDisable the history management
disablemousewheelBOOLEANDisable the mousewheel capture
wmodeSTRINGSet the window parameter of the embed. Can be either window, opaque, transparent or empty
zoommodeSTRINGSet the default zoom mode. Can be either cursor (follow the cursor), drag (use drag and drop) or empty.
cookiesBOOLEANtrueEnable or disable cookies
disabletrackingBOOLEANfalseEnable or disable Google Analytics and Matomo tracking
searchexactmatchBOOLEANfalseEnable search exact matching
searchfullwordsBOOLEANfalseEnable search full words matching

Mini parameters​

AttributeTypeDefaultDescription
clicktoSTRINGpublicSpecifies 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
clicktourlSTRINGSpecifies the URL to redirect the reader to when the interactive thumbnail is clicked (only available to PLATINUM accounts)
clicktargetSTRING_selfSpecifies if the URL is opened in a new window or in the current window
autoflipINTEGERIn seconds, interval between each automatic page change (0 = no change)
allowminiskinBOOLEANfalseEnable the interactive thumbnail design customization (only available to PLATINUM accounts)
showsharemenuBOOLEANtrueSpecifies 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