Secure Audio Embedder

Embed branded, membership-aware audio on WordPress that remembers where listeners left off.

Bring secure, conversion-ready audio experiences to your site with a simple shortcode. Control downloads by role, nudge free visitors with a custom “Join Now” button, and delight members with seamless resume playback across visits.


What You Can Do

  • Embed audio anywhere: Drop a shortcode into posts, pages, or blocks to render a modern <audio> player.
  • Resume playback: Automatically saves per-user listening progress and restores it on return.
  • Control access: Hide downloads for non-members. Show a customizable “Join Now” button to convert visitors.
  • Brand the UI: Customize player background, footer, and button colors plus labels.
  • Generate shortcodes fast: Use the admin generator—no guesswork, no manual coding.

Key Features

  • Shortcode-based: [secure_audio] works in both the Classic Editor and the Block Editor (Shortcode block).
  • Membership-aware downloads: Download button appears only for users with the patreon_member role (or admins).
  • Conversion-ready CTA: Non-members see your custom “Join Now” button with a link to your membership page.
  • Per-user resume: Saves and restores the last playback position for logged-in users.
  • Lightweight & native: Uses the browser’s <audio> element—fast, compatible, and accessible.
  • Admin generator: Point-and-click builder with preview to create and copy shortcodes.

How It Works

  1. Add your MP3 URL and options in the shortcode generator.
  2. Paste the shortcode where you want the player to appear.
  3. Logged-in listeners have progress saved automatically.
  4. Members see downloads when enabled; others see “Join Now.”

Shortcode Options

[secure_audio] supports:

  • url: MP3 file URL (required)
  • width: e.g., 100% or 640px (default: 100%)
  • height: e.g., 50px (default: 50px)
  • show_download: true|false (default: false)
  • members_only: true|false (default: false)

When members_only="true", only patreon_member role (and administrators) see the download button. Others see your custom “Join Now” button.


Admin Customization

  • Colors: Button background, hover, text, player background, footer background
  • Text: Download label and Join Now label
  • Join URL: Set the “Join Now” destination link
  • Generator: Copy-ready shortcodes with preview

Membership Behavior

  • Members only: patreon_member (or admin) users can download when allowed.
  • Non-members: See your branded “Join Now” button with a membership link.

Playback Progress & Privacy

  • Resume: Progress stored per user and per audio file.
  • Guests: Must log in for progress saving.
  • Storage: Uses WordPress user meta only—no external services.

Performance & Compatibility

  • Fast & native: Minimal overhead with WordPress.
  • Works everywhere: Any modern browser; posts, pages, custom post types.
  • Editor support: Classic and Block Editor (via shortcode).

Requirements

  • WordPress 6.0+
  • MP3 file hosted on your server or direct-accessible URL
  • A way to assign the patreon_member role (via your membership plugin or custom user management)

Use Cases

  • Member podcasts: Let paying members download while nudging free listeners to join.
  • Courses & training: Resume long lessons where users left off.
  • Internal communications: Share recordings with staff; restrict downloads by role.

FAQ

Can I change button colors and text?
Yes—fully customizable in settings.

Does resume work for anonymous users?
No, progress saving requires login.

Can I restrict streaming?
The plugin controls UI and downloads. Use your hosting/CDN for stream protection.

Can I use different roles?
By default, it checks patreon_member and admin. Adapt roles with your membership plugin.

Where do I build shortcodes?
In the admin under the generator tab.

Does it support multiple players per page?
Yes—each player runs independently.

What formats are supported?
MP3 via <audio> is recommended.


Get Started

  1. Install and activate Secure Audio Embedder.
  2. Configure branding, button labels, and your Join URL.
  3. Use the generator to build shortcodes and embed players anywhere.