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.

Command icon 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

dahousecat created an issue. See original summary.

wolffereast’s picture

StatusFileSize
new789 bytes

I 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.

wolffereast’s picture

Status: Active » Needs review

mably made their first commit to this issue’s fork.

  • mably committed 64a7121d on 3.0.x
    Issue #3478243 by wolffereast, mably: Allow vimeo urls in the format...
mably’s picture

Version: 8.x-2.x-dev » 3.0.x-dev
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.