Media Library
A sermon and media library with series grouping and video playback. Organize your church's videos, PDFs, images and documents into series and let visitors browse, watch and download them on your website.
Live preview
Supported providers
- Firesky: data managed in Dashboard → Widgets → Media Library. Available to all churches.
Embed
<fs-media-library></fs-media-library>
Optional attributes
| Attribute | Description | Default |
|---|---|---|
media-label | Plural label for media items | Sermons |
media-label-singular | Singular label (derived from media-label if not set) | Derived |
layout | Display layout: series (default) or videos | series |
series-id | UUID of a series to open immediately as the page entry folder | none |
show | Initial view: all (default) or latest (open the newest item straight away) | all |
Examples:
<!-- Default: series grid → series modal → player -->
<fs-media-library></fs-media-library>
<!-- Custom label for a video-focused church -->
<fs-media-library media-label="Messages"></fs-media-library>
<!-- Full custom labels -->
<fs-media-library media-label="Videos" media-label-singular="Video"></fs-media-library>
<!-- Flat video grid: skip the series popup, click any video to play directly -->
<fs-media-library layout="videos" media-label="Videos"></fs-media-library>
<!-- Open a specific series (folder) immediately -->
<fs-media-library series-id="SERIES-UUID"></fs-media-library>
<!-- Flat grid of videos in one folder and its nested series -->
<fs-media-library series-id="SERIES-UUID" layout="videos"></fs-media-library>
Layout modes
layout="series" (default): the classic experience:
- Browse a grid of series cards
- Click a series to open a series detail popup
- Click a video in the popup to open the player
layout="videos": a flat video list, ideal for libraries connected to a YouTube channel:
- Browse a flat grid of all videos (newest first), skipping the series layer
- Click any video card to open the player directly
series-id: skip the library home grid and open one series as the page. Nested series appear as folders inside that series. Combined with layout="videos", the widget shows only videos in that folder and its nested series.
series-id also scopes what the widget loads: only that series and its nested series are fetched, which is what lets an unlisted series resolve.
Unlisted series
Some content belongs on its own page rather than in the main library: a monthly
prayer guide, a newsletter archive, a set of leader resources. Set the series'
Visibility to Unlisted, then point a widget at it with series-id.
Every series has one of three visibility settings:
| Setting | In the library grid | Via series-id |
|---|---|---|
| Visible | Yes | Yes |
| Unlisted | No | Yes |
| Hidden | No | No |
Unlisted is the one to use for a series that has its own page. Hidden
takes a series offline everywhere, including direct series-id links. If a
page using series-id reports no media, check the series isn't Hidden.
An unlisted series, and everything nested inside it, is absent from the
library payload entirely. It never appears on your main media page, and it
loads only where a widget names it with series-id.
Unlisted means not indexed, not private. The series ID is visible in the page source of whatever page embeds it, and anyone with it can load the series from one of your allowed origins. Use Hidden to take a series offline everywhere instead.
Publishing on a schedule
With show="latest" the widget opens the current item on load, and an item's
date becomes its publish date:
- The newest item dated today or earlier is the one that opens
- Items dated in the future are hidden: not in the viewer, not in the archive
- On the item's date it takes over, with no further action
A monthly guide can be uploaded weeks ahead: set October's date to Oct 1, and the page keeps showing September until it swaps itself over. Visitors reach earlier items through Back to library.
<fs-media-library
series-id="SERIES-UUID"
show="latest"
layout="videos"
media-label="Prayer Guides"
></fs-media-library>
Copy a ready-to-paste snippet from Dashboard → Widgets → Media Library (Copy on a series).
Both layouts share the same URL-based deep linking (?item=<id>, ?latest=1).
What it does
- Series grid: displays all series with thumbnail, title, and video count.
- Flat video grid: optional
layout="videos"skips the series popup. - Series detail: click a series to see all videos in it (series layout only).
- Video playback: embedded YouTube player or HTML5 video with title and description.
- Files: PDFs, images and documents open in a viewer with a download link.
- Deep linking: series and video state is reflected in the URL for shareable links.
- Responsive: works on desktop and mobile.
Managing content
Go to Dashboard → Widgets → Media Library to:
- Create and manage series, including nested series (folders inside folders)
- Add items to series: YouTube videos, uploaded videos, PDFs, images and documents
- Move items between series
- Set a series as a page entry point with a
series-idembed snippet - Set a series to Unlisted so it only appears on its own page
- Set thumbnails, titles, and descriptions
- Reorder content
- Connect a YouTube channel so new videos are imported automatically
Connect a YouTube channel
Connect a public YouTube channel to keep your Media Library up to date automatically:
- In Dashboard → Widgets → Media Library, find YouTube channel sync.
- Paste your channel link or
@handle(e.g.https://www.youtube.com/@YourChurch) and click Find channel. - Set Import videos published on or after and any other import settings (see below).
- Click Connect channel. Matching public uploads are imported right away.
- New videos usually appear within minutes of being published. Firesky also checks for new videos about every 30 minutes in case one is missed.
Recommended embed for a library connected to YouTube:
<fs-media-library layout="videos" media-label="Videos"></fs-media-library>
Import settings
You set these when you connect, and can change them any time with Import settings on the connected channel. Click Save and re-sync to apply them right away: newly matching videos are imported, and imported videos that no longer match are hidden.
| Setting | Default | Description |
|---|---|---|
| Import videos published on or after | Required | Older videos are skipped. Useful for channels with years of older content. |
| Include Shorts | Off | Import videos 60 seconds or shorter. YouTube has no Shorts flag, so this goes by length. |
| Include past livestreams | Off | Import finished broadcasts. Scheduled premieres are always skipped. |
| Shortest video, in minutes | None | Skip short clips. Set it to 10 to import only videos 10 minutes or longer. |
| Title must include | None | Comma-separated keywords. At least one must appear in the video title (not case-sensitive). |
| Title must not include | None | Comma-separated keywords. Videos matching any of them are skipped (not case-sensitive). |
Note: Only public videos are imported. Private and unlisted videos are skipped.
Requirements
- Add allowed origins in Dashboard → Settings → Allowed origins
- Embed the Firesky script before using the widget
Use case
Add to your church website's sermons or media page to give visitors a clean, browsable library of your video content organized by series, or connect your YouTube channel so new videos are added automatically.