// The films play from our Cloudflare R2 bucket at media.protomota.com/video// (1080p, and 720p // on phones; Brad 2026-11-27: all videos are off YouTube). Section video loops and the app // installers still come from the pulsecanvas-media Cloudflare R2 bucket. // R2 copies are cached for a year, so a new loop cut needs a new filename (see "Website videos" in README.md). export const mediaBaseUrl = 'https://media.pulsecanvas.si'; export const filmBaseUrl = 'https://media.protomota.com/video'; export const films = { // Song film: 2:54, refreshed with moving PulseCanvas 1.2 interface shots (2026-10-23). song: { video: 'pulsecanvas-song', captions: true, poster: '/images/song-v4-poster.webp', duration: '2:54', label: 'PulseCanvas, the music video: our song, made in PulseCanvas Studio' }, // 34 s feature film. short: { video: 'pulsecanvas-feature', captions: true, poster: '/images/feature-v6-poster.webp', duration: '0:34', label: 'PulseCanvas Studio short film' }, // Creators-edition tutorial (1:18). walkthrough: { video: 'pulsecanvas-tutorial', captions: true, poster: '/images/tutorial-v6-poster.webp', duration: '1:18', label: 'PulseCanvas Studio tutorial: make your first music video' }, }; // A film's MP4: 720p on phones and data-saver connections, 1080p everywhere else. // Captions sit beside the MP4s; the bucket's CORS allows our domains, so the video loads crossOrigin. export const filmCaptionsUrl = (film) => `${filmBaseUrl}/${film.video}/captions.vtt`; export const filmUrl = (film, size = '1080p') => `${filmBaseUrl}/${film.video}/${film.video}-${size}.mp4`;