umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.41k stars 2.66k forks source link

Embedding YouTube Live URL Not Supported Error #16948

Open captnord opened 3 weeks ago

captnord commented 3 weeks ago

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

8.5.5

Bug summary

When using YouTube Live URLs in the Umbraco Embed I keep getting the "not supported" error.

Specifics

There is a workaround. By following the details in this documentation:

https://our.umbraco.com/Documentation/Extending/Embedded-Media-Provider/

I was able to create an Embed Provider that inherited everything from the YouTube.cs file and created an override for the UrlSchemeRegex that includes the "live" URL:

public override string[] UrlSchemeRegex => new[] { @"youtu.be/.*", @"youtube.com/watch.*", @"youtube.com/shorts/.*", @"youtube.com/live/.*" };

Steps to reproduce

  1. Open the embed functionality of rich text editor.
  2. Use a youtube.com/live/.* url.

Expected result / actual result

YouTube Live URLs are allowed to be embedded.

github-actions[bot] commented 3 weeks ago

Hi there @captnord!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face: