Members-only video lesson

A lesson detail section: a video only plan holders can play (a members-only download streamed inline), the lesson notes from the collection, and a resources card. Non-members see an upsell where the video would be.

membershipscourselessonvideomembers-onlydownloaddetail-pagedynamic

About this block

One section for a lesson detail page (pathPattern :slug). The video points at a members-only download (/api/downloads/<id>?inline=1), so the file itself checks the visitor on every request.

When to use it

  • On a lesson detail page bound to a lessons collection.

What's inside

  • A Data root reading the lesson whose slug matches the URL.
  • Video: provider url, videoId /api/downloads/<id>?inline=1, shown to me.plans.pro holders; a locked card for everyone else.
  • Lesson notes ({{item.body}}), shown when the row has a body. For locked rows the body is a member field, so the notes block is left out for non-members.
  • A resources card with a Download button for the same download (as an attachment).

How to customize it

  • Replace 000000000000000000000000 with your download id (MCP set_download, access members + plans).
  • Change me.plans.pro to your plan slug, and the All lessons link to your members page.

Questions

Can someone share the video URL?
The link only plays for a signed-in member with the plan. Anyone else gets a sign-in page or a 403.

Browse other blocks

Same library cards — preview live and grab the code from any block.

View full library

Course lesson list (free + locked lessons)

A numbered list of lessons from a collection. Free lessons link straight in; paid lessons show a padlock, a Pro chip and their teaser, and still link to the lesson page, which shows the upsell.

Member account (sign-in, memberships, billing)

One account page for a membership site: signed-out visitors get the email sign-in form; members see their plans with end dates, a Manage billing button and sign out.

Members-only section with upsell

A section pair: members see the gated content; everyone else sees a locked card with an upsell to the plans. Gated content is removed on the server, so it never reaches a visitor who isn't a member.

Membership pricing (free + paid plan)

Two membership plan cards: a free plan that signs visitors up with an email link, and a paid plan priced live from Stripe that goes straight to checkout. Members see a link to the course instead of a buy button.

Section gated by membership plan

A section with three states chosen on the server: a pro member sees the lessons (the second one dripped open after seven days), a signed-in member on another plan sees an upgrade card, a visitor sees a sign-in card.

Hero split

Two-column hero with eyebrow, heading, description, and CTAs on the left. Image on the right.

Features three columns

Centered heading with three columns, each showing an icon, title, body text, and link.

Simple CTA

Centered call-to-action on an accent background with heading, description, and buttons.

Footer multi-column

Grid footer with brand blurb and multiple link columns. Copyright and social links at the bottom.

Navigation bar

Standard header with logo, nav links, primary CTA, and a mobile hamburger menu.

Testimonial cards

Two-column grid of testimonial cards with quote, photo avatar, name, and role.

“

Hero centered

Clean centered hero with eyebrow, large heading, description, and two CTA buttons.