diff --git a/apps/landing/src/components/Engage.astro b/apps/landing/src/components/Engage.astro new file mode 100644 index 0000000..c0cbefb --- /dev/null +++ b/apps/landing/src/components/Engage.astro @@ -0,0 +1,163 @@ +--- +import Icon from "./Icon.astro" +import type { IconName } from "../lib/icons" + +const items: { icon: IconName; title: string; text: string }[] = [ + { + icon: "bookmark", + title: "Chapters", + text: "Split the seek bar into chapters viewers can jump between. Add them at the playhead or paste a list from a video description, then see how many viewers reach and finish each one.", + }, + { + icon: "captions", + title: "Captions", + text: "Upload WebVTT or SRT tracks in any language, or transcribe videos on demand or as soon as they're processed. Viewers pick a track in the player.", + }, + { + icon: "sparkles", + title: "AI you plug in", + text: "Connect OpenAI or any OpenAI-compatible server with your own key. It writes captions and suggests chapters you review before saving, within monthly limits you set.", + }, + { + icon: "list-video", + title: "Playlists", + text: "Group videos into a playlist that plays in one embed, with an episodes menu and the next video starting after a short countdown.", + }, + { + icon: "mouse-pointer-click", + title: "Calls to action", + text: "Show a button over the video at the moment you choose, or on its end screen. Analytics show how often each one was answered or closed.", + }, + { + icon: "mail", + title: "Leads", + text: "Collect email addresses in the player with a consent checkbox. Find them on the Leads page, export them as CSV, or receive each one by webhook.", + }, +] +--- + +
+
+

Player

+

More than a play button

+

+ Help viewers find their way through long videos, reach everyone with + captions, and turn views into sign-ups. +

+
+
+ { + items.map((item) => ( +
+ + + +

{item.title}

+

{item.text}

+
+ )) + } +
+
+ + diff --git a/apps/landing/src/components/Faq.astro b/apps/landing/src/components/Faq.astro index d678ef5..7f52170 100644 --- a/apps/landing/src/components/Faq.astro +++ b/apps/landing/src/components/Faq.astro @@ -16,9 +16,21 @@ const questions = [ question: "How are views counted?", answer: "A view counts once playback starts, and watch time is measured as people actually watch. Viewers are never identified.", }, + { + question: "Do captions and chapters need an AI service?", + answer: "No. You can upload WebVTT or SRT captions and write chapters yourself. To generate them, connect OpenAI or any OpenAI-compatible server with your own key. You set a monthly limit for each provider.", + }, + { + question: "Can I collect leads from my videos?", + answer: "Yes. Add an email form over the video or on its end screen. Viewers tick a consent box, and you find the addresses on the Leads page, as a CSV export, or by webhook.", + }, + { + question: "How do I run it in production?", + answer: "Use the production Docker Compose file. It runs ready-made images of the API, web app and proxy from the GitHub container registry, alongside PostgreSQL and Redis, and applies database migrations on start.", + }, { question: "Can I upload from my own backend?", - answer: "Yes. Create an API key with upload access and send files from your backend with the API.", + answer: "Yes. Create an API key with upload access and send files from your backend with the API, or pass a link and the server downloads the file.", }, { question: "What does it cost?", diff --git a/apps/landing/src/components/Features.astro b/apps/landing/src/components/Features.astro index 2582fd7..15a029c 100644 --- a/apps/landing/src/components/Features.astro +++ b/apps/landing/src/components/Features.astro @@ -5,6 +5,7 @@ const features = [ title: "Every video, ready in every quality", points: [ "Group videos into libraries, each with its own qualities, player style and allowed sites.", + "Upload a file, or import one from a link and let the server download it.", "Pick a thumbnail from any frame, or upload your own image.", "Thumbnail previews while viewers scrub through a video.", ], @@ -18,7 +19,8 @@ const features = [ title: "Real viewing data, not guesses", points: [ "Views, watch time and completion over the last 7, 30 or 90 days.", - "See exactly where viewers stop watching.", + "See exactly where viewers stop watching, and how far they get through each chapter.", + "How often each call to action is answered or closed.", "Devices and sites, without tracking individual viewers.", ], image: "/media/feature-analytics.png", @@ -31,7 +33,7 @@ const features = [ title: "Built for your backend", points: [ "Up to 25 named keys per library, with the access you choose for each.", - "Signed webhooks for every upload and processing step, retried until they arrive.", + "Signed webhooks for every upload, processing step, caption and lead, retried until they arrive.", "A documented API with a ready-made TypeScript client.", ], image: "/media/feature-api.png", diff --git a/apps/landing/src/components/Header.astro b/apps/landing/src/components/Header.astro index 73601c5..f3e6229 100644 --- a/apps/landing/src/components/Header.astro +++ b/apps/landing/src/components/Header.astro @@ -4,6 +4,7 @@ import { APP_URL, GITHUB_URL } from "../lib/links" const links = [ { href: "#how-it-works", label: "How it works" }, { href: "#features", label: "Features" }, + { href: "#player", label: "Player" }, { href: "#security", label: "Security" }, { href: "#faq", label: "FAQ" }, ] diff --git a/apps/landing/src/components/Hero.astro b/apps/landing/src/components/Hero.astro index 6571d56..042772a 100644 --- a/apps/landing/src/components/Hero.astro +++ b/apps/landing/src/components/Hero.astro @@ -45,9 +45,9 @@ const qualities = ["Auto", "1080p", "720p", "480p", "360p"]

- Upload videos, transcode them to adaptive HLS and play them in an - embeddable player on your own sites. Your buckets, your domains, your - viewers. + Upload or import videos, transcode them to adaptive HLS, add captions + and chapters, and play them in an embeddable player on your own sites. + Your buckets, your domains, your viewers.

Self-host it diff --git a/apps/landing/src/components/Marquee.astro b/apps/landing/src/components/Marquee.astro index edb8ee4..f37a12f 100644 --- a/apps/landing/src/components/Marquee.astro +++ b/apps/landing/src/components/Marquee.astro @@ -1,14 +1,14 @@ --- import Signet from "./Signet.astro" -const words = ["Upload", "Transcode", "Store", "Play", "Measure", "Integrate", "Audit"] +const words = ["Upload", "Transcode", "Caption", "Play", "Engage", "Measure", "Integrate"] const rows = [ { id: "a", direction: -1 }, { id: "b", direction: 1 }, ] --- -
+
{ rows.map((row) => (
@@ -26,8 +33,9 @@ const sites = [ 01

Upload

- Drop in an MP4 or MOV of up to 20 GiB. Uploads are resumable, so a - dropped connection picks up where it left off. + Drop in an MP4 or MOV of up to 20 GiB, or paste a link and the + server downloads it. Uploads are resumable, so a dropped connection + picks up where it left off.

@@ -41,7 +49,7 @@ const sites = [
{Array.from({ length: 40 }, () => )}
-

Resumable upload

+

Resumable upload · import from a URL

@@ -83,10 +91,41 @@ const sites = [
  • 03 +

    Enrich

    +

    + Upload captions, or have your AI provider transcribe the video. Then + let it suggest chapters from the captions, and review them before + you save. +

    +
    +
    +
    + +

    + {cue.map((word) => {word} )} +

    +
    +
      + { + chapters.map((chapter) => ( +
    1. + {chapter.time} + {chapter.title} +
    2. + )) + } +
    +

    Captions · chapters suggested from them

    +
    +
  • + +
  • +
    + 04

    Play

    - Paste one embed code on your site. Only the sites you allow can play - your videos, and signed links can make them expire. + Paste one embed code for a video or a whole playlist. Only the sites + you allow can play your videos, and signed links can make them expire.

    @@ -112,11 +151,11 @@ const sites = [
  • - 04 + 05

    Measure

    - See views, watch time, completion and retention for every video, - along with the devices and sites your viewers watch on. + See views, watch time and retention for every video, how far viewers + get through each chapter, and who answers your calls to action.

    @@ -336,6 +375,57 @@ const sites = [ background-size: 800% 100%; } + /* Enrich */ + .enrich__screen { + position: relative; + overflow: hidden; + border-radius: 12px; + } + + .enrich__screen img { + width: 100%; + height: auto; + } + + .enrich__cue { + position: absolute; + inset: auto 8% 0.9rem; + margin: 0 auto; + width: fit-content; + padding: 0.3rem 0.65rem; + border-radius: 6px; + background: rgb(0 0 0 / 0.72); + color: #fff !important; + font-size: clamp(0.7rem, 1.1vw, 0.85rem); + text-align: center; + } + + .enrich__chapters { + display: grid; + gap: 6px; + margin: 0; + padding: 0; + list-style: none; + font-size: 0.85rem; + } + + .enrich__chapters li { + display: flex; + gap: 0.9rem; + padding: 0.5rem 0.75rem; + border: 1px solid var(--line); + border-radius: 8px; + } + + .enrich__chapters span { + min-width: 2.5rem; + font-family: var(--font-mono); + font-size: 0.75rem; + line-height: 1.6; + color: var(--muted); + font-variant-numeric: tabular-nums; + } + /* Play */ .player__screen { position: relative; diff --git a/apps/landing/src/lib/icons.ts b/apps/landing/src/lib/icons.ts index f680db0..b4c0da7 100644 --- a/apps/landing/src/lib/icons.ts +++ b/apps/landing/src/lib/icons.ts @@ -27,6 +27,16 @@ export const icons = { '', "chevrons-up-down": '', check: '', + bookmark: '', + captions: + '', + sparkles: + '', + "list-video": + '', + "mouse-pointer-click": + '', + mail: '', } as const export type IconName = keyof typeof icons diff --git a/apps/landing/src/pages/index.astro b/apps/landing/src/pages/index.astro index 5ef8101..47aa08e 100644 --- a/apps/landing/src/pages/index.astro +++ b/apps/landing/src/pages/index.astro @@ -7,6 +7,7 @@ import Marquee from "../components/Marquee.astro" import Statement from "../components/Statement.astro" import Pipeline from "../components/Pipeline.astro" import Features from "../components/Features.astro" +import Engage from "../components/Engage.astro" import Numbers from "../components/Numbers.astro" import Security from "../components/Security.astro" import QuickStart from "../components/QuickStart.astro" @@ -17,7 +18,7 @@ import ScrollTimeline from "../components/ScrollTimeline.astro"
    @@ -27,6 +28,7 @@ import ScrollTimeline from "../components/ScrollTimeline.astro" + diff --git a/apps/landing/src/scripts/animations.ts b/apps/landing/src/scripts/animations.ts index b481d96..6090d41 100644 --- a/apps/landing/src/scripts/animations.ts +++ b/apps/landing/src/scripts/animations.ts @@ -456,6 +456,22 @@ function animatePanel(panel: HTMLElement, trigger: ScrollTrigger.Vars) { ) } + const cueWords = $$("[data-cue-word]", panel) + if (cueWords.length > 0) { + timeline + .from(cueWords, { + autoAlpha: 0, + duration: 0.2, + ease: "none", + stagger: 0.09, + }) + .from( + $$("[data-chapter]", panel), + { autoAlpha: 0, x: -24, duration: 0.7, ease: EASE, stagger: 0.14 }, + "-=0.3" + ) + } + const bars = $$("[data-bar]", panel) if (bars.length > 0) { timeline.from(bars, { scaleY: 0, duration: 1, ease: EASE, stagger: 0.025 }) @@ -475,12 +491,14 @@ function animatePipeline() { const panels = $$("[data-panel]", track) const mm = gsap.matchMedia() let active = 0 + let counter: gsap.core.Timeline | undefined const setActive = (index: number) => { if (!current || index === active) return const direction = index > active ? 1 : -1 active = index - gsap + counter?.kill() + counter = gsap .timeline() .to(current, { yPercent: -100 * direction, @@ -493,7 +511,7 @@ function animatePipeline() { .fromTo( current, { yPercent: 100 * direction }, - { yPercent: 0, duration: 0.45, ease: EASE } + { yPercent: 0, duration: 0.45, ease: EASE, immediateRender: false } ) }