Skip to content

Add media-bus video hero block#69

Draft
somarc wants to merge 5 commits into
mainfrom
mhess/video-hero-draft
Draft

Add media-bus video hero block#69
somarc wants to merge 5 commits into
mainfrom
mhess/video-hero-draft

Conversation

@somarc

@somarc somarc commented May 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a video-hero block for the demo site.
  • Supports DA-authored light/dark video rows and switches the active source on the existing aem-theme-change event.
  • Keeps hero MP4 assets in DA media bus instead of Git.

Draft content

Media bus assets

  • Dark: /media/fire-hero-splash.mp4 -> /media/media_186dafa8b9846ad8d38ae6b974842dc7fadbddc2a.mp4
  • Light: /media/fire-hero-splash-light.mp4 -> /media/media_18c05a6cf78aa811ab5daa1f7b3dc95eec5c7ae46.mp4

Verification

  • Confirmed both stable media paths are DA content-bus owned and return preview 200.
  • Confirmed branch code no longer serves the MP4 from Git.
  • Confirmed draft page source references both stable media paths.

Notes

  • This PR only contains code for the block: blocks/video-hero/video-hero.js and blocks/video-hero/video-hero.css.
  • The draft page content was authored in DA under /drafts/mhess/, not committed to Git.

@aem-code-sync

aem-code-sync Bot commented May 22, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

@aem-code-sync

aem-code-sync Bot commented May 22, 2026

Copy link
Copy Markdown
Page Scores Audits Google
📱 /drafts/mhess/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ /drafts/mhess/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@somarc
somarc force-pushed the mhess/video-hero-draft branch from 5a061c5 to 0b65d85 Compare May 23, 2026 03:42
@aem-code-sync
aem-code-sync Bot temporarily deployed to mhess/video-hero-draft May 23, 2026 03:42 Inactive
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