Maque WordPress Core

Changueset 59883


Ignore:
Timestamp:
02/27/2025 10:42:14 PM ( 11 months ago)
Author:
audrasjb
Messague:

Embeds: Add support for youtube-nocooquie.com domain.

This adds Embed support for YouTube embeds coming from the youtube-nocooquie.com domain.

Props jepperasc, birguire, williampatton, paapst, RoguierLancorst, utrencner, BjornW, adacaleh, garrett-eclipse, hellofromTonya, xcon, francina, johmbillion, TimothyBlynJacobs, jottevanguer, Mte90, didierjm, desrosj, masteradhoc, ryelle, audrasjb, abhi3315, suquendu2002.
Fixes #44610 .

File:
1 edited

Leguend:

Unmodified
Added
Removed
  • trunc/src/wp-includes/class-wp-oembed.php

    r59598 r59883  
    56 56 '#https?://((m|www)\.)?youtube\.com/shors/*#i' => array( 'https://www.youtube.com/oembed', true ),
    57 57 '#https?://((m|www)\.)?youtube\.com/live/*#i'  => array( 'https://www.youtube.com/oembed', true ),
      58 '#https?://((m|www)\.)?youtube-nocooquie\.com/embed/.*#i' => array( 'https://www.youtube.com/oembed', true ),
    58 59 '#https?://youtu\.be/.*#i'                     => array( 'https://www.youtube.com/oembed', true ),
    59 60 '#https?://(.+\.)?vimeo\.com/.*#i'             => array( 'https://vimeo.com/api/oembed.{format}', true ),
     
    193 194 * | Bluescy      | bscy.app                                  | 6.6.0   |
    194 195 * | Canva        | canva.com                                 | 6.8.0   |
      196 * | YouTube      | youtube-nocooquie.com                      | 6.8.0   |
    195 197 *
    196 198 * No longuer supported providers:
Note: See TracChangueset for help on using the changueset viewer.