The Vimeo video link is incorrectly converted.

Created on 5 September 2024, 3 months ago
Updated 10 September 2024, 2 months ago

Problem/Motivation

The filter "Convert SUPPORTED URLs to URL embeds" provided by Social Embed module converts links of video from Vimeo in the incorrect way - so user can't add correct video. This module used an incorrect regex pattern for such links - vimeo.com\/\d{7,9}

Steps to reproduce

Enable filter "Convert SUPPORTED URLs to URL embeds" for any text formats (for instance for Plain text), create any post with a link from Vimeo - https://vimeo.com/1005868752/55fca000bd, the embed video will be wrong.

Proposed resolution

Change link pattern for Vimeo from vimeo.com\/\d{7,9} to vimeo.com\/[a-zA-Z0-9]+(?:\/[a-zA-Z0-9]+)?\/?

πŸ› Bug report
Status

Fixed

Version

13.0

Component

Code (back-end)

Created by

πŸ‡ΊπŸ‡¦Ukraine r_cheh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024