# Ghost CMS Music Player — Navbar Toggle
**Status:** READY
**Priority:** Tier 3 — Branding & Experience
**Time:** 1-2 hours
**Created:** March 15, 2026
**Created By:** The Navigator (Chronicler #30)
---
## Overview
Add a toggleable music player to the firefrostgaming.com navbar. Epic orchestral/dark fantasy music plays when the visitor clicks the button. Autoplay is OFF by default — visitor chooses to enable it. Player is minimal and styled to match the Fire/Frost brand.
---
## Selected Tracks
| Track | Artist | Source | Duration | URL |
|---|---|---|---|---|
| Powerful | David Fesliyan | Fesliyanstudios.com | 4:00 | https://www.fesliyanstudios.com/royalty-free-music/download/powerful/539 |
**Download link:** https://www.fesliyanstudios.com/download-link.php?src=i&id=539
Additional tracks to add (Michael's picks — to be downloaded):
- Browse at: https://www.fesliyanstudios.com/royalty-free-music/downloads-c/epic-music/4
- Browse at: https://www.fesliyanstudios.com/royalty-free-music/downloads-c/fantasy-music/27
**License:** Free for commercial use. Donation encouraged. No attribution required on site.
---
## Implementation Plan
### Step 1 — Download & Host Tracks
- Download MP3(s) from Fesliyanstudios.com
- Upload to NextCloud at downloads.firefrostgaming.com
- Note the public URL for each file
- Example: `https://downloads.firefrostgaming.com/music/powerful.mp3`
### Step 2 — Ghost Code Injection
Add to Ghost Admin → Settings → Code Injection → Site Header:
```html
```
Add to Ghost Admin → Settings → Code Injection → Site Footer:
```html
```
### Step 3 — Test
- Verify button appears in navbar
- Test play/pause toggle
- Test track cycling (if multiple tracks)
- Test on mobile
- Confirm no autoplay on page load
---
## Adding More Tracks
Once additional tracks are downloaded and uploaded to NextCloud, add them to the `tracks` array in the footer injection:
```javascript
const tracks = [
{ title: "Powerful", src: "https://downloads.firefrostgaming.com/music/powerful.mp3" },
{ title: "Second Track Name", src: "https://downloads.firefrostgaming.com/music/second-track.mp3" },
{ title: "Third Track Name", src: "https://downloads.firefrostgaming.com/music/third-track.mp3" },
];
```
Tracks cycle automatically when one ends. 🔥→❄️→🔥 icon toggles with play/pause state.
---
## Success Criteria
- [ ] "Powerful" MP3 downloaded and uploaded to NextCloud
- [ ] Music button visible in Ghost navbar
- [ ] Play/pause toggles correctly
- [ ] Icon changes state (🔥 = stopped, ❄️ = playing)
- [ ] Track name shows in button
- [ ] No autoplay on page load
- [ ] Mobile-friendly
- [ ] Multiple tracks cycle when added
---
**Fire + Frost + Foundation = Where Love Builds Legacy** 💙🔥❄️