Skip to content

fix(product-launch): preserve hoisted media offsets#2340

Closed
miguel-heygen wants to merge 1 commit into
mainfrom
fix/hoist-media-start
Closed

fix(product-launch): preserve hoisted media offsets#2340
miguel-heygen wants to merge 1 commit into
mainfrom
fix/hoist-media-start

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

Summary

  • preserve data-media-start when the product-launch assembler hoists approved frame videos to the host root
  • add regression coverage for trimmed source-video windows

Reproduction

A frame video with data-media-start="12.75" lost that attribute during assembly, causing the hoisted host-root video to play from the source beginning. The new test failed before this change and passes afterward.

Validation

  • node --test skills/product-launch-video/scripts/media-contract.test.mjs
  • bun run lint:skills
  • bun run test:skills (229 passed)
  • git diff --check

@miguel-heygen

Copy link
Copy Markdown
Collaborator Author

Consolidated with the related product-launch media, brand, and audio contract fixes in #2408, which preserves this PR’s behavior and regression coverage.

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