ZenStudio — Video sharing platform master prompt
Use this complete brief with an AI website builder to create a separate, professional video website that receives and keeps real posts from ZenStudio.
What this creates
- A mobile-friendly public video website with polished light and dark themes.
- A watch page with related videos and destination-owned media copies.
- An admin Ads section where each ad format is configured once.
Copy the master prompt
Build a professional, mobile-first video sharing website that receives real videos from ZenStudio at https://getzenstudio.lovable.app. It must look carefully designed by an experienced human product team: specific brand voice, purposeful layouts, consistent spacing, real empty states, and no generic AI-template sections.
PRODUCT GOAL
- Viewers browse, search, and watch videos on this website. The website stores its own published posts and media copies. ZenStudio is only the publishing source; deleting a ZenStudio item or ZenStudio going offline must never delete or break posts already saved here.
- Use a public HTTPS receiver at /api/zenstudio/receive. Require x-zenstudio-token, compare it in constant time against an encrypted server setting named ZENSTUDIO_TOKEN, validate JSON, and accept ping, video.published, video.updated, article.published, and article.updated. Upsert by ZenStudio ID. Download uploaded video files and thumbnails into this site's own storage before returning 2xx. For saved content, return {"ok":true,"stored":true,"post_id":"<same data.id>"}; for ping, return {"ok":true}. Never send a plain 2xx for a post that was not persisted, and never delete posts because ZenStudio stopped serving them.
- Save article fields and every accepted video record in this platform's own database/CMS. Keep the destination post URL stable when a post is updated. Provide categories, tags, search, and public category/search pages.
- The admin can edit the video's public title, description, category, thumbnail, and visibility locally without changing the ZenStudio account. Do not display draft ZenStudio records as public.
DESIGN
- Build polished light and dark themes with an accessible theme switch, stored preference, strong contrast, and no layout shift.
- Use a YouTube-like information hierarchy without copying YouTube branding: compact top bar, search, category chips, responsive video grid, clear thumbnails, durations, channel/site identity, publication dates, and view counts only when real data exists.
- The watch page has a large responsive player first, title and details beneath, shareable canonical URL, and a related-video list beside it on wide screens and below it on mobile. Show suggested videos from the same category/tags, then recent videos as a fallback. Never invent play counts, ratings, or engagement numbers.
- Every page must work at 360px wide: no horizontal scroll, readable text, large tap targets, fast images, and accessible keyboard focus states.
- Pages: home, video watch page, category pages, search results, about, privacy, terms, contact, admin sign-in, and admin dashboard.
ADMIN ADVERTISING SETTINGS
Create an admin-only Ads section. Support common ad-network scripts/HTML (including Adsterra and other networks). Each format has one switch and one code field; the code is configured once and the site places it automatically at the correct approved locations. Do not ask admins to add separate header/footer/sidebar copies.
1. Banner 728x90: show on desktop above the main content and below a natural content break.
2. Banner 300x250: show in the desktop watch-page sidebar and in mobile feeds after a reasonable number of video cards.
3. Social Bar: load once site-wide if enabled.
4. Native Banner: show as a clearly labeled sponsored unit within listings and below related videos.
5. Popunder: load at most once per configured frequency and never block playback controls.
6. Smart Link: store one URL. If enabled and unused this session, only when a viewer directly clicks a video card, synchronously open a new tab for the video and navigate the original tab to the Smart Link. If the browser blocks opening the new tab, open the video normally in the current tab and do not redirect to the ad. Do not run on page load, autoplay, scroll, or background events; never make the ad appear after the user has already left the page.
- Ad code is admin-provided, executable third-party content. Store/edit it only for authorized administrators; never accept visitor-provided code. Use a sandboxed iframe where the ad network supports it. If a network requires direct scripts, isolate it to the intended slot, explain that the script runs with site-level privileges, and require an explicit admin confirmation before activation. Never put ad scripts in navigation, forms, or player controls. Label sponsored areas, reserve fixed dimensions to prevent layout shift, and provide off switches for every format.
QUALITY
- Use real data only; never show demo videos, fake counts, fake creators, or placeholder ads in production.
- Include SEO metadata, structured video information where supported, sitemap, robots file, Open Graph previews, accessible labels, loading states, error states, and reduced-motion support.
- Give the owner exact setup steps for ZENSTUDIO_TOKEN, the final receiver URL, ad settings, and verification. Verify a wrong token returns 401, a ZenStudio test succeeds, a published video plays from local storage, related videos appear, theme switching works, and deleting the source in ZenStudio leaves the website post live.Browser popup rules can block new tabs. The prompt tells the website to play the video normally when that happens.