This project is not covered by Drupal’s security advisory policy.

EchoAds Audio Player turns your articles into audio. When you publish content of a type you choose, the module sends it to the EchoAds service, which converts it to speech and adds pre-roll and post-roll audio ads. Once the audio is ready, a player appears on the content's page.

Features

  • Sends content to EchoAds automatically when it is first published. The request goes out after the page response, so saving never waits on EchoAds.
  • An "EchoAds audio" panel in the content form to generate, regenerate, check and preview the audio without losing unsaved edits.
  • An audio player above or below the content, or wherever you place it under Manage display.
  • Reads formatted text fields and Paragraphs, and falls back to plain long text. Sites that store articles differently can change what is sent with hook_echoads_article_alter().
  • Works with Drupal 10.3 and later, and Drupal 11.

Post-Installation

  1. Go to Configuration → Web services → EchoAds (/admin/config/services/echoads).
  2. Enter the API key and base URL from your EchoAds dashboard, choose the content types, and click Test connection.
  3. Give editors the Generate EchoAds audio permission.
  4. Make sure cron runs, so the status of new audio gets updated.

Content published after that gets audio automatically. For content published earlier, click Generate audio in the content form.

Additional Requirements

An EchoAds media outlet account. The player is loaded from EchoAds hosting on storage.googleapis.com, so sites with a Content Security Policy need to allow that address.

Privacy

The player runs in visitors' browsers. It loads the audio from Google Cloud Storage, asks EchoAds which audio and ads to play, and reports plays to EchoAds with a visitor ID generated in the browser. Check whether your privacy policy and cookie consent need to cover this.

AI-Generated: Yes. Most of this module's code and documentation was written with Claude Code, Anthropic's AI coding assistant, following my instructions. I tested it on a Drupal 11 site connected to EchoAds, and I maintain it and take responsibility for every change.

Project information

Releases