Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 10 months ago

#57632 closed enhancement (fixed)

Register an oEmbed handler for YouTube live URLs

Reported by: slieschke Owned by: peterwilsoncc
Priority: normal Milestone: 6.2
Component: Embeds Version: 6.2
Severity: normal Keywords: has-patch has-test-info needs-user-docs
Cc: Focuses:

Description

The shareable links for livestreamed videos shared from Content → Live in YouTube Studio are now of format https://youtube.com/live/BdFVUvy-sOI?feature=share, which the YouTube Embed fails on.

Change History (8)

This ticket was mentioned in PR #3988 on WordPress/wordpress-develop by slieschke.


4 years ago
#1

  • Keywords has-patch added

Adds YouTube Embed support for shareable links for livestreamed videos shared from Content → Live in YouTube Studio which are now of format <https://youtube.com/live/BdFVUvy-sOI?feature=share>.

Trac ticket: https://core.trac.wordpress.org/ticket/57632

#2 @costdev
4 years ago

  • Keywords has-testing-info added
  • Milestone Awaiting Review6.2
  • Type defect (bug)enhancement

Test Report

Patch tested: https://github.com/WordPress/wordpress-develop/pull/3988.diff

Steps to Reproduce or Test

  1. Navigate to Posts > Add New.
  2. Do not load this link prior to testing. Paste this link into the content section: https://www.youtube.com/live/A93boKWP4_0
  3. 🐞 The Embed URL screen shows "Sorry, this content could not be embedded."
  4. Apply the PR
  5. ✅ Repeat steps 1 and 2.

Expected Results

When testing a patch to validate it works as expected:

  • ✅ The video is now embedded as expected.

When reproducing a bug:

  • ❌ The Embed URL screen shows "Sorry, this content could not be embedded."

Environment

  • Server: Apache (Linux)
  • WordPress: 6.2-alpha-54642-src
  • Browser: Chrome 109.0.0.0
  • OS: Windows 10
  • Theme: Twenty Twenty-One
  • Plugins: None activated

Actual Results

When reproducing a bug/defect:

  • ❌ The Embed URL screen shows "Sorry, this content could not be embedded."

When testing the bugfix patch:

  • ✅ The video is now embedded as expected.

Notes

  • For anyone else testing, the format of the link is https://youtube.com/live/VIDEO_ID. The VIDEO_ID is what usually shows after the ?v= portion of the URL.

#3 @peterwilsoncc
4 years ago

  • Owner set to peterwilsoncc
  • Resolutionfixed
  • Status newclosed

In 55242:

Embeds: Update YouTube provider for live URLs.

YouTube Live stream URLs can take the form of youtube.com/live/videocode. This registers the URL format for the oembed provider.

Props slieschke, costdev.
Fixes #57632.

#5 @milana_cap
3 years ago

  • Keywords needs-user-docs added

#7 @wordpressdotorg
15 months ago

  • Keywords has-test-info added; has-testing-info removed

This ticket was mentioned in Slack in #docs by atachibana. View the logs.


10 months ago

Note: See TracTickets for help on using tickets.