Skip to content

feat: show Watch on YouTube card for 360° videos instead of embedding - #118

Merged
sauldeleon merged 1 commit into
mainfrom
feat/youtube-360-embed
Jun 12, 2026
Merged

feat: show Watch on YouTube card for 360° videos instead of embedding#118
sauldeleon merged 1 commit into
mainfrom
feat/youtube-360-embed

Conversation

@sauldeleon

Copy link
Copy Markdown
Owner

YouTube's embedded player no longer supports interactive 360° viewing. Adds a youtube-360 embed type that renders a thumbnail + info card with a direct YouTube watch link instead of an iframe.

  • Admin embed modal gains a 360° checkbox (YouTube type only)
  • parseEmbedBlock and remarkEmbeds recognise youtube-360 fence type
  • PostContentEmbed renders styled card with badge, info text, and link
  • i18n strings added for en and es

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Mandatory gif:

YouTube's embedded player no longer supports interactive 360° viewing.
Adds a youtube-360 embed type that renders a thumbnail + info card with
a direct YouTube watch link instead of an iframe.

- Admin embed modal gains a 360° checkbox (YouTube type only)
- parseEmbedBlock and remarkEmbeds recognise youtube-360 fence type
- PostContentEmbed renders styled card with badge, info text, and link
- i18n strings added for en and es
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
portfolio Ready Ready Preview, Comment Jun 12, 2026 10:21am

@sauldeleon
sauldeleon merged commit 356b18f into main Jun 12, 2026
4 of 5 checks passed
@sauldeleon
sauldeleon deleted the feat/youtube-360-embed branch June 15, 2026 14:58
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