Make WordPress Core

Changeset 44486


Ignore:
Timestamp:
01/09/2019 12:23:35 AM (6 years ago)
Author:
pento
Message:

Embeds: Add Instagram TV support.

Props dannydehaan.
Fixes #44557.

File:
1 edited

Legend:

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

    r44484 r44486  
    7777            '#https?://(www\.)?soundcloud\.com/.*#i'       => array( 'https://soundcloud.com/oembed', true ),
    7878            '#https?://(.+?\.)?slideshare\.net/.*#i'       => array( 'https://www.slideshare.net/api/oembed/2', true ),
    79             '#https?://(www\.)?instagr(\.am|am\.com)/p/.*#i' => array( 'https://api.instagram.com/oembed', true ),
     79            '#https?://(www\.)?instagr(\.am|am\.com)/(p|tv)/.*#i' => array( 'https://api.instagram.com/oembed', true ),
    8080            '#https?://(open|play)\.spotify\.com/.*#i'     => array( 'https://embed.spotify.com/oembed/', true ),
    8181            '#https?://(.+\.)?imgur\.com/.*#i'             => array( 'https://api.imgur.com/oembed', true ),
     
    201201         * | Someecards   | some.ly                                   |      Yes       | 4.9.0   |
    202202         * | Crowdsignal  | survey.fm                                 |      Yes       | 5.1.0   |
     203         * | Instagram TV | instagram.com                             |      Yes       | 5.1.0   |
     204         * | Instagram TV | instagr.am                                |      Yes       | 5.1.0   |
    203205         *
    204206         * No longer supported providers:
Note: See TracChangeset for help on using the changeset viewer.