Developers

Public-facing surfaces for integrating Track Tutor into other places. Right now there's one: the embed player, which lets you drop the multitrack player onto a third-party page with a single iframe.

Embed player

The embed player renders the Track Tutor multitrack mixer (faders, mute / solo / PRE, scrubber, transport) inside an iframe. It takes the song title and a list of label/URL pairs as query parameters — no account, no API key, no database lookup. You bring the audio URLs; we play them.

URL

https://tracktutor.com/embed
  ?title=<song title>
  &label=<track name>&url=<track URL>
  &label=<track name>&url=<track URL>
  ...

label and url are repeated query parameters, paired by index. The number of tracks is the number of pairs.

Parameters

ParameterRequiredNotes
titleyesSong title shown in the player header.
labelyes (×N)Track name shown on the channel strip (e.g. Tenor, Lead, Baritone, Bass). Repeat once per track.
urlyes (×N)Direct URL to the audio file (MP3 recommended). Must be https://. Must serve Access-Control-Allow-Origin — see Constraints below.

Example

<iframe
  src="https://tracktutor.com/embed?title=Sweet+Adeline&label=Tenor&url=https%3A%2F%2Fexample.com%2Fsweet-tenor.mp3&label=Lead&url=https%3A%2F%2Fexample.com%2Fsweet-lead.mp3&label=Baritone&url=https%3A%2F%2Fexample.com%2Fsweet-bari.mp3&label=Bass&url=https%3A%2F%2Fexample.com%2Fsweet-bass.mp3"
  width="500"
  height="540"
  style="border:0"
  allow="autoplay"
  title="Sweet Adeline — Track Tutor player"></iframe>

Remember to URL-encode each url value (its own ? and & would otherwise break the outer query string).

Constraints

Authorization

Embedding is gated by a staff-managed domain allowlist. The page checks the iframe's Refererhostname against the allowlist on every load. If your domain isn't on the list, the iframe renders an “Embedding not authorized” message instead of the player.

To get your domain added, email support@tracktutor.com with the hostname you want to embed from. Apex domains automatically cover all subdomains (adding example.com permits www.example.com, app.example.com, etc.).

Sizing

Recommended dimensions:

For a responsive layout, set width="100%" and a fixed pixel height — the player itself doesn't need horizontal scroll until the viewport narrows beyond the channel-strip count.

Troubleshooting

Player features included

Not included

The embed player is intentionally focused. Single song only — no playlist, no next/previous track, no lyrics tab, no offline cache, no media-session integration (lock-screen controls). Those features live in the full Track Tutor app and the Track Tutor Player mobile apps.

Questions

Reach out at support@tracktutor.com for integration help, custom needs, or to request domain allowlisting.