Adds a media type for embedding Telegram posts and videos to your site.
Install
Module requires Drupal 9.3 or newer.
1. Enable module
2. create Telegram media type
- Go to /admin/structure/media/add
- set Name to Telegram
- set Description to Telegram posts.
- set Media source to Telegram
- click Save
3. set formatter for field Telegram to Telegram embed if it's not set already.
4. (optional) set form widgets and form fields at /admin/structure/media/manage/telegram/form-display.
5. set permissions for editing Telegram media /admin/people/permissions
Usage
Create telegram media using entity forms (/media/add/telegram), or using Drupal core's Media Library. Just paste the URL and the module generates the embed code.
Privacy and cookies
Don't forget that with this, you embed external content via iframe. That means it will load Telegram's 3rd party cookies for the visitors. In certain countries (for example in Europe) by law you cannot load non-essential cookies to the browser until the visitor has given consent to it. So you'll need: COOKiES Telegram Media
Other info
The module's codebase was based on how Media Entity Twitter and Media Entity Facebook was written.
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Content editing experience, Content display, Site structure
8 sites report using this module
- Created by kaszarobert on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
