0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Add YouTube Live url to oEmbed all_providers

This commit is contained in:
Fabien Le Frapper 2023-06-17 19:24:25 +02:00 committed by LB (Ben Johnston)
parent 1df7048dfd
commit 13672a1e7c
3 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@ Changelog
* Mark calls to `md5` as not being used for secure purposes, to avoid flagging on FIPS-mode systems (Sean Kelly)
* Return filters from `parse_query_string` as a `QueryDict` to support multiple values (Aman Pandey)
* Explicitly specify `MenuItem.name` for all admin menu and submenu items (Justin Koestinger)
* Add Embed URL provider support YouTube Shorts (valnuro)
* Add oEmbed provider patterns for YouTube Shorts Shorts and YouTube Live URLs (valnuro, Fabien Le Frapper)
* Add initial implementation of `PagePermissionPolicy` (Sage Abdullah)
* Refactor `UserPagePermissionsProxy` and `PagePermissionTester` to use `PagePermissionPolicy` (Sage Abdullah)
* Fix: Prevent choosers from failing when initial value is an unrecognised ID, e.g. when moving a page from a location where `parent_page_types` would disallow it (Dan Braghis)

View File

@ -20,7 +20,7 @@ FieldPanels can now be marked as read-only with the `read_only=True` keyword arg
* Mark calls to `md5` as not being used for secure purposes, to avoid flagging on FIPS-mode systems (Sean Kelly)
* Return filters from `parse_query_string` as a `QueryDict` to support multiple values (Aman Pandey)
* Explicitly specify `MenuItem.name` for all admin menu and submenu items (Justin Koestinger)
* Add Embed URL provider support YouTube Shorts (e.g. [https://www.youtube.com/shorts/nX84KctJtG0](https://www.youtube.com/shorts/nX84KctJtG0)) (valnuro)
* Add oEmbed provider patterns for YouTube Shorts (e.g. [https://www.youtube.com/shorts/nX84KctJtG0](https://www.youtube.com/shorts/nX84KctJtG0)) and YouTube Live URLs (valnuro, Fabien Le Frapper)
* Add initial implementation of `PagePermissionPolicy` (Sage Abdullah)
* Refactor `UserPagePermissionsProxy` and `PagePermissionTester` to use `PagePermissionPolicy` (Sage Abdullah)

View File

@ -682,6 +682,7 @@ youtube = {
r"^https?://(?:[-\w]+\.)?youtube\.com/view_play_list.+$",
r"^https?://(?:[-\w]+\.)?youtube\.com/playlist.+$",
r"^https?://(?:[-\w]+\.)?youtube\.com/shorts/.+$",
r"^https?://(?:[-\w]+\.)?youtube\.com/live/.+$",
],
}