Problem/Motivation
Youtube live stream links like this do not work https://youtube.com/live/8defxBZ50Hw
I've modified the regex in YouTube.php slightly and got it to work.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | video_embed_field--support-live--3417567--4.patch | 741 bytes | nicolas s. |
| #3 | After Patch.png | 1.79 MB | sandeep_k |
| #3 | Before Patch.png | 122.4 KB | sandeep_k |
| #2 | video_embed_field--support-live--3417567--2.patch | 736 bytes | loze |
Issue fork video_embed_field-3417567
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
loze commentedHere's a patch
Comment #3
sandeep_k commented@loze, I've Tested shared Patch- video_embed_field--support-live--3417567--2.patch on Drupal versions- 9.5.11 & 10.1.9-dev. The patch was applied successfully and looks good to me.
Testing Steps:
Testing Results:
After applying the patch, I successfully added the YouTube Live Stream URL in the Embed field. RTBC+
Comment #4
nicolas s. commentedHi,
Patch works with Drupal 10.4.x and url youtube live url but not working with youtube embed like this https://www.youtube.com/embed/tEfCoTb4e2Q
I propose a new patch
Comment #5
mably commentedCould you provide an MR please?
Comment #10
nicolas s. commentedIt's done @mably
Comment #12
mably commentedComment #13
mably commented@nicolas-s could you create another issue to add the
embed/url handling that was present in your original patch?Comment #14
mably commentedComment #15
nicolas s. commentedIssue created : https://www.drupal.org/project/video_embed_field/issues/3512575
Comment #16
mably commentedThanks!