Skip to content

Comments

Add video background, TikTok embeds, and event updates#32

Merged
dweekly merged 8 commits intomainfrom
feature/video-background-and-updates
Nov 16, 2025
Merged

Add video background, TikTok embeds, and event updates#32
dweekly merged 8 commits intomainfrom
feature/video-background-and-updates

Conversation

@dweekly
Copy link
Owner

@dweekly dweekly commented Nov 16, 2025

Summary

Major visual and content updates to the Sinister Dexter website:

🎥 Video Background Hero Section

  • Replace static hero image with auto-playing video background from Nov 14 Club Fox show
  • 25-second loop starting at 1:48 mark
  • Darkened, low-contrast treatment for optimal text readability
  • Responsive videos: 1080p desktop (12MB) / 720p mobile (4.6MB)
  • Features: autoplay, muted, loops, pauses when hidden, respects accessibility settings

🎵 TikTok Integration

  • Add official TikTok embed support using their embed.js
  • Create reusable tiktok-embed partial component
  • Simple usage: just provide video ID, username, and optional caption
  • Embedded TikTok video from Nov 14 show in past events

📅 Event Updates

  • Move Friday Night Funk (Nov 14) to past shows with TikTok video
  • Add Corporate Holiday Party (Dec 5) at The Fillmore
  • Add Albany Concert in the Park (Sep 2, 2026)
  • Implement private event system (excludes from SEO/structured data)
  • Show year for events in different calendar year

🎨 Media Support for Past Events

  • Past shows can now display media galleries:
    • Images (photos from the show)
    • Vertical videos (TikTok, YouTube Shorts)
    • Horizontal videos (YouTube)
  • Responsive grid layout (1-3 columns)

Technical Improvements

  • Add Handlebars helpers: eq, startsWith, isDifferentYear
  • Filter private events from JSON-LD structured data
  • Improved mailto link handling for private events
  • Video optimization with accessibility support
  • JavaScript handlers for smooth video playback

Test plan

  • Desktop: Video background autoplays at 1080p
  • Mobile: Responsive video loads 720p version
  • Accessibility: Respects prefers-reduced-motion
  • TikTok: Embeds display correctly
  • Events: All show updates display properly
  • SEO: Private events excluded from structured data
  • Year display: 2026 event shows year, 2025 doesn't

🤖 Generated with Claude Code

dweekly and others added 7 commits November 15, 2025 17:09
- Move Friday Night Funk (Nov 14) to past shows with TikTok video
- Add Corporate Holiday Party placeholder (Dec 5, 2026)
- Implement media support for past events:
  - TikTok embeds using official embed code
  - YouTube iframe embeds for horizontal videos
  - Image thumbnails with links
- Add 'eq' Handlebars helper for type comparisons
- Update documentation with media usage guide
- Include TikTok embed.js script (loaded once)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- City of Albany's Concert in the Park
- Date: September 2, 2026
- Location: Albany Community Center, Albany, CA
- Free outdoor summer concert series

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add template/partials/components/tiktok-embed.hbs
- Accepts videoId, username (optional), caption (optional)
- Uses official TikTok embed code format
- Defaults to @sindex_band if username not provided
- Auto-generates TikTok URL from videoId if needed

Usage:
{{> components/tiktok-embed videoId="7573064485842242871" username="@sindex_band" caption="Show caption"}}

Benefits:
- DRY: Reusable across all templates
- Simplified: Only requires videoId for basic use
- Maintainable: Update embed format in one place
- Flexible: Supports all TikTok embed parameters

Updated shows template to use new partial and updated
documentation with usage examples.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Corporate Holiday Party Updates:
- Add venue: The Fillmore, San Francisco
- Add full address: 1805 Geary Blvd, San Francisco, CA 94115
- Change description to "Book us for your own!"
- Mark as private event

Private Event System:
- Add "private" flag support for events
- Private events excluded from SEO structured data (JSON-LD)
- Private events display "Book us for your own event →" link
- All private events link to mailto:booking@sinisterdexter.net
- Prevents private corporate events from appearing in search results

Technical Changes:
- Add publicShows filter in build.js to separate public/private events
- Update structured-data.hbs to use publicShows instead of upcomingShows
- Add conditional rendering in shows.hbs for private events
- Add "startsWith" Handlebars helper for future string checks

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Hide event description for private events to avoid showing
both the description text and the booking link text.

Private events now only show:
- "Book us for your own event →" link

Instead of showing both:
- "Book us for your own!" (description)
- "Book us for your own event →" (link)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Add automatic year display for events when the event year differs
from the current calendar year.

Changes:
- Add isDifferentYear Handlebars helper to compare event year vs current year
- Update upcoming shows template to conditionally show year
- Format: "MMM DD, YYYY" when year differs, "MMM DD" when same year

Example:
- In 2025 viewing Dec 5, 2025 event: "DEC 05"
- In 2025 viewing Sep 2, 2026 event: "SEP 02, 2026"

This helps users clearly identify events scheduled for future years.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Replace static hero image with dark, low-contrast video background
from Nov 14 Club Fox show.

Video Processing:
- Source: DJI_20251114_201110_056_video.mp4
- Extract 25 seconds starting at 1:48 mark
- Applied darkening (brightness -0.3, contrast 0.7, saturation 0.8)
- Removed audio
- Optimized for web with H.264 codec

Responsive Videos Created:
- Desktop: 1920x1080 @ 12MB (hero-desktop.mp4)
- Mobile: 1280x720 @ 4.6MB (hero-mobile.mp4)

Features:
- Auto-plays, muted, loops seamlessly
- Responsive: mobile devices get smaller 720p version
- Static image fallback for unsupported browsers
- Poster image shows while video loads
- Pauses when tab hidden (saves bandwidth/battery)
- Respects prefers-reduced-motion accessibility setting
- Reduced overlay opacity since video is pre-darkened

Technical Details:
- playsinline attribute for iOS compatibility
- faststart flag for faster initial playback
- Media queries for responsive source selection
- JavaScript handler ensures smooth playback

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link

🎸 Sinister Dexter Preview Deployment

This build: https://35be45ba.sinister-dexter.pages.dev
🔄 Latest on PR: https://preview-32.sinister-dexter.pages.dev/

Commit: a8075df

The first link shows this exact build, while the second always shows the latest changes on this PR.

Update hero template to reference video files from Cloudflare R2 CDN
(cdn.sinister-dexter.com/video/) instead of local paths. This ensures
videos are properly served in production deployment.

- hero-desktop.mp4: 1920x1080, 25s, 12MB
- hero-mobile.mp4: 1280x720, 25s, 4.6MB

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link

🎸 Sinister Dexter Preview Deployment

This build: https://41acb6eb.sinister-dexter.pages.dev
🔄 Latest on PR: https://preview-32.sinister-dexter.pages.dev/

Commit: 969e19a

The first link shows this exact build, while the second always shows the latest changes on this PR.

@dweekly dweekly merged commit fb39f9b into main Nov 16, 2025
1 check passed
@github-actions
Copy link

✅ FTP Deployment Successful!

PR #32: Add video background, TikTok embeds, and event updates
Merged by: @dweekly
Commit: fb39f9b

Deployment Details

  • Server: server298.com
  • Directory: /www/www-2025/
  • Time: Sun, 16 Nov 2025 01:19:46 GMT

🌐 Live Site: https://sinisterdexter.net/

All tests passed and the site has been successfully deployed to production.

@dweekly dweekly deleted the feature/video-background-and-updates branch November 17, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant