Wavecast Radio

After installing Wavecast, add a podcast player to any page with a single shortcode.

Minimal Setup

  1. Add the footer player to your base template:

    In layouts/_default/baseof.html, add just before </body>:

    <podcast-footerid="podcast-footer"data-turbolinks-permanentdata-turbo-permanenthx-preserve></podcast-footer>
  2. Create an episode in content/episodes/my-first-episode.md:

    tdpW{>iaoe{}ttdsl<stpdc}lecrcrioehe:acopctssa:s:mo=ltcp2ted"eert"0:"ch=rieE2htat"=prp6tostE"tsi-ttpphi=s0pm-sito"o1syp:stn0d-:l/p=0e1/fads":5/iywe:S01wrew/h0:wsrw1/o:wt.:pw0H.si0eseoHcn-lopuesoIluinlutnonsdlmetdoho.srWhdepooeelWhw,rl!iooi0lixrtt0dx.loh:".cds0co"/5oms*:m/eM3/eea0exdr-xa/kNampdempoowpldwslecn,esa*0s/s*0/mt:mp/s1p34u53/0p:/S0p0So/o0ou4r-un0tInd0.ndH""tHeeelrlivixix-e-SwSo"onngg--11..mmpp33""

Shortcode Parameters at a Glance

ParameterRequiredDefaultDescription
srcyes:Audio URL or local file path
titleno""Episode title in the player header
posterno""Cover image URL
descriptionno""Markdown description
typeno"audio/mpeg"MIME type
sourceno"local"Source adapter hint
persistentno"true"Disable to prevent navigation persistence
preloadno"metadata"HTML5 <audio> preload value
chaptersno""Comma-separated HH:MM:SS-Label pairs
autoplayno"false"Auto-play on page load
rateno"true"Show playback rate control

With a Local Audio File

Place your audio file in your Hugo project’s assets/ directory:

{>{}<st}ripcto=ld"ece=ap"siEtsp-oipdsleoasdy/eemry4-2e:piHseoldleo.mWpo3r"ld"

The shortcode resolves local files via resources.GetMatch: it checks page-scoped resources first, then the global assets/ directory. Remote URLs are passed through as-is.

Verify It Works

After running hugo server, you should see:

  1. ✅ A styled audio player with play/pause button, progress bar, and volume controls
  2. ✅ Chapters rendered as clickable chips (if you provided them)
  3. ✅ Poster image next to the controls (if you provided one)
  4. ✅ Description text below the controls (if you provided one)

Next Steps