[wp-trac] [WordPress Trac] #57632: Register an oEmbed handler for YouTube live URLs

WordPress Trac noreply at wordpress.org
Tue Feb 7 01:16:13 UTC 2023


#57632: Register an oEmbed handler for YouTube live URLs
----------------------------------------+---------------------
 Reporter:  slieschke                   |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  6.2
Component:  Embeds                      |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch has-testing-info  |     Focuses:
----------------------------------------+---------------------
Changes (by costdev):

 * keywords:  has-patch => has-patch has-testing-info
 * type:  defect (bug) => enhancement
 * milestone:  Awaiting Review => 6.2


Comment:

 == 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57632#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list