Skip to content

feat: update embed block to latest aem-block-collection version - #141

Merged
dosteinacher merged 1 commit into
mainfrom
feat/update-embed-block
Aug 27, 2026
Merged

feat: update embed block to latest aem-block-collection version#141
dosteinacher merged 1 commit into
mainfrom
feat/update-embed-block

Conversation

@dosteinacher

Copy link
Copy Markdown
Collaborator

Summary

Syncs blocks/embed with the current upstream implementation from adobe/aem-block-collection.

  • Adds a poster-image placeholder + play button with autoplay for YouTube/Vimeo embeds
  • Drops the dependency on buildFigure() from scripts.js (still used elsewhere by images.js and article-header.js, unaffected)
  • Removes Instagram, Adobe Spark/Adobe TV, TikTok, and SlideShare support — no longer present upstream; unmatched providers fall back to a generic iframe embed
  • CSS selectors updated from main .embed to .embed, consistent with several other blocks in this repo

Test plan

  • eslint clean on embed.js
  • stylelint clean on embed.css
  • Manual check in a preview environment that YouTube/Vimeo/Twitter embeds render and autoplay-on-click works as expected

🤖 Generated with Claude Code

Sync blocks/embed with the current upstream implementation from
adobe/aem-block-collection:
- Adds poster-image placeholder + play button with autoplay for
  YouTube/Vimeo embeds
- Drops dependency on buildFigure() from scripts.js
- Removes Instagram, Adobe Spark/Adobe TV, TikTok, and SlideShare
  support (no longer present upstream); unmatched providers fall
  back to a generic iframe embed
- CSS selectors updated from `main .embed` to `.embed`

Verified clean via eslint and stylelint.
@aem-code-sync

aem-code-sync Bot commented Aug 27, 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 all PSI checks
  • Re-run failed PSI checks
  • Re-sync branch
Commits

@dosteinacher
dosteinacher merged commit 923bee1 into main Aug 27, 2026
2 of 4 checks passed
@dosteinacher
dosteinacher deleted the feat/update-embed-block branch August 27, 2026 12:50
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