Media Entity Calameo
24 sites
Security covered
Drupal 10–11
This module allows you to integrate Calameo publications with Drupal's core Media module. It enables the management of Calameo content as media entities within Drupal.
Provides integration of Calameo publications with the Drupal core Media module.
Installation
- Enable the core Media module (if not already enabled).
- Enable the Media Entity Calameo module.
- Go to
/admin/config/media/media_entity_calameoand add your API Key and API Secret Key from Calameo Developer. - Go to
/admin/structure/mediaand click 'Add media bundle' to create a new bundle. - In the field Type provider, select Calameo.
Configuration
- Go to the Manage display section for your Calameo media bundle.
- For the source field, select Calameo embed under Format.
- Click on the settings icon to configure:
- Width: iframe width in pixels (default: 480)
- Height: iframe height in pixels (default: 640)
- Mode: Automatic, Viewer, or Mini
- View: Automatic, Book, Slide, or Scroll
- Enable Force domain if you encounter X-Frame-Origin errors (e.g., HTTP xframe-neterror-page).
- Save.
Usage
When creating or editing content with a media field:
- Click Add media.
- Select your Calameo media bundle.
- Enter either:
- The Calameo publication ID (shortcode, e.g.,
123abc456) - Or the full Calameo URL (e.g.,
https://calameo.com/read/123abc456)
- The Calameo publication ID (shortcode, e.g.,
The module will automatically extract the publication ID from URLs and generate the embed iframe using Calameo's official URL (//v.calameo.com/).
Maintainers
Depends on
Dependencies of the latest stable release
- media Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.