Automattic / Automattic/jetpack

Vimeo: embed reversal fails with some vimeo URL formats

Open
#10,529 27 comments 1 reaction 2 assignees Claimed by @jeherve View on GitHub
[Feature] Shortcodes / Embeds [Pri] Normal Bug Customer Report [LEGACY]
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce the issue

1. Make sure Jetpack's Shortcodes module is enabled on your site.
2. Go to Posts > Add New and create a new post including the 3 following URLs, on separate lines:
```html
https://vimeo.com/289091934/cd1f466bcc
https://vimeo.com/album/2838732/video/6342264
https://vimeo.com/6342264
```

All 3 URL formats do work and return an embed in the post editor, since they are valid URL formats and Core's oEmbed method handles them. However, on the frontend of your site only the third video will work: the 2 first ones will only return the following error:

``

We would need to update our embed reversal method to support those URLs as well.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.