Skip to content

Add support for Vimeo videos#153

Open
adgad wants to merge 4 commits intomainfrom
vimeo
Open

Add support for Vimeo videos#153
adgad wants to merge 4 commits intomainfrom
vimeo

Conversation

@adgad
Copy link
Collaborator

@adgad adgad commented Feb 20, 2026

Problem

Specialist Titles support adding vimeo video embeds to articles. This PR adds support to:

  • SPEC.md
  • content_tree.go
  • from-bodyxml
  • to-external-bodyxml

I've basically followed the same pattern as YoutubeVideo, as discussed in #72

Question
Currently we publish the vimeo link to bodyXML is exactly the same as the youtube one:

<a data-asset-type=\"video\" data-embedded=\"true\" href=\"%s\"></a>

I assume that's what we want for external bodyXML as well? so i've kept it the same

Notes for reviewer

I have no idea what I'm doing with Go, so please provide extra scrutiny! Have basically just copy/pasted what we do for External Video.

I've tested using go test in both libraries (there were some already failing tests, but have validated that the tests I added are working)

@adgad adgad requested review from a team as code owners February 20, 2026 15:22
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