Use a more efficient regex match

Created on 6 December 2017, almost 7 years ago
Updated 6 September 2023, about 1 year ago

Hi,

When i set the Video Embed field to enable Vidyard, I am noticing that the first two characters after share/** are stripped. This is causing the video not to render.

Replication steps:

  1. Add Video Embed field to basic page content type
  2. Under Manage Display set format to video
  3. Add Content-->Basic Page-->Enter "http://play.vidyard.com/share/MI_gb2lRkMzODtZq8dLE8Q" into Embed Video field
  4. view page
  5. observe that everything after MI is stripped

If I inspect the page and insert the part that was stripped, then the video displays properly.

📌 Task
Status

Closed: outdated

Version

1.0

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024