Problem/Motivation
I have a load of migrated data all using urls like https://player.vimeo.com/video/XXXXXXXXX.
And I want to be able to migrate this data straight into a video embed field, but it doesn't support urls in this format.
Steps to reproduce
Try and save an entity with a video embed field value set to a url in the format of https://player.vimeo.com/video/XXXXXXXXX
Proposed resolution
Add additional preg_match to extract id from this url format.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | vimeo-url-format-unsupported-3478243-2.patch | 789 bytes | wolffereast |
| video_embed_field-allow-player_vimeo_com-urls.patch | 992 bytes | dahousecat |
Issue fork video_embed_field-3478243
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
wolffereast commentedI ran into the same issue, as well as a similar issue with the progressive redirect URL. I added them to the original regex instead, though that was just how I handled it before finding this issue. Uploading a patch for review/opinions.
Comment #3
wolffereast commentedComment #7
mably commented