Embeddable widgets

Put a public LoftwahFM release, track, playlist or station on your site with one iframe. Visitors can press Play without an account.

No account requiredClipboard and web-share allowedCompact is the safe default

Only albums already in the public library are available. Private and customer-only releases cannot be exposed by changing the URL.

LoftwahFM embeddable widget
Best fitpages that need a working music player without rebuilding the LoftwahFM experience

Build an embed

Choose what to play and how the widget should fit. Copy the embed code for your site or give a coding agent the exact setup and checks.

Building a game? Use the game audio SDK to keep control of music, mute and effects.

What to play
Presentation

Preview

Using a coding agent? Copy the setup, embed code and checks, or download the versioned recipe for this exact configuration.

Embed code

<iframe
  src="https://fm.loftwah.com/widget?station=night-signal"
  title="LoftwahFM player"
  width="560"
  height="420"
  style="border:0;max-width:100%"
  loading="lazy"
  allow="autoplay; clipboard-write; web-share"
></iframe>
Configuration details
Player URL
https://fm.loftwah.com/widget?station=night-signal
Query
station=night-signal
Starts on
Track one
Frame
560 × 420
Defaults
album=all

Supported examples

Compact is the safest fit for most layouts. Use the full player when the music is the main feature of the section.

Station rotation

Night Signal uses the shared station client. Playback starts when your visitor presses Play.

                  <iframe
  src="https://fm.loftwah.com/widget?station=night-signal"
  title="LoftwahFM Night Signal station"
  width="560"
  height="420"
  style="border:0;max-width:100%"
  loading="lazy"
  allow="autoplay; clipboard-write; web-share"
></iframe>
                

Public player

A full player for Symphony & LoftwahFM.

                  <iframe
  src="https://fm.loftwah.com/widget?album=symphony-and-loftwahfm&variant=default"
  title="LoftwahFM public player example"
  width="720"
  height="500"
  style="border:0;max-width:100%"
  loading="lazy"
  allow="autoplay; clipboard-write; web-share"
></iframe>
                

Compact

Best for landing pages, blog posts, and smaller content blocks.

                  <iframe
  src="https://fm.loftwah.com/widget?album=symphony-and-loftwahfm"
  title="LoftwahFM compact public player example"
  width="560"
  height="420"
  style="border:0;max-width:100%"
  loading="lazy"
  allow="autoplay; clipboard-write; web-share"
></iframe>
                

Compact with a preselected track

Start with No One’s Coming, then let listeners explore the rest of the release.

                  <iframe
  src="https://fm.loftwah.com/widget?album=symphony-and-loftwahfm&file=No+One%E2%80%99s+Coming+%28S%26LFM%29.mp3"
  title="LoftwahFM widget example: compact preselected track"
  width="560"
  height="420"
  style="border:0;max-width:100%"
  loading="lazy"
  allow="autoplay; clipboard-write; web-share"
></iframe>
                

Mini

The smallest player for a tight layout or sidebar.

                  <iframe
  src="https://fm.loftwah.com/widget?album=symphony-and-loftwahfm&variant=mini"
  title="LoftwahFM widget example: mini player"
  width="320"
  height="120"
  style="border:0;max-width:100%"
  loading="lazy"
  allow="autoplay; clipboard-write; web-share"
></iframe>
                

How to embed it

Copy an iframe, keep it at 100 percent width, then choose the public album and variant in the URL. This works on third-party sites.

HTML

<iframe
  src="https://fm.loftwah.com/widget?album=symphony-and-loftwahfm"
  title="LoftwahFM compact public player"
  width="560"
  height="420"
  style="border:0;max-width:100%"
  loading="lazy"
  allow="autoplay; clipboard-write; web-share"
></iframe>

Public by design

Widgets can read only the public catalogue. Private album names, tracks, and media remain unavailable even if someone edits the URL.

URL flags

Use flags only to choose a public album, track, playlist, or presentation. They cannot expand catalogue access.

Content

  • station

    Published station ID, for example night-signal. Uses station rotation instead of album flags.

  • album

    Album slug, or all or playlist.

  • file

    Track filename within the album, URL encoded.

  • tracks

    An ordered track list. Copy the builder’s link to preserve filenames containing punctuation or Unicode.

Playback

  • shuffle

    Use 1 or true to enable shuffle on load.

  • repeat

    Use none, one, or all. Defaults to the previous player preference.

  • autoplay

    Off by default. Browsers may still block it even if you request it.

Presentation

  • variant

    Compact is the default. Use Full for a dedicated section and Mini when you only need basic playback.

  • brand

    Set to 0 or false to hide the LoftwahFM brand header.

  • unstyled

    Set to 1 or true for a reduced-style player. The host page can style the iframe box; the player’s internal styles stay inside it.

  • width / w

    Maximum content width in pixels inside the iframe. Defaults vary by variant.

Browser autoplay policies still require a user gesture in many cases, so treat autoplay as a request rather than a guarantee.