At the moment WordPress only recognises youtube.com/watch, youtube.com/playlist and youtu.be. However there is wp_oembed_add_provider; try something like
wp_oembed_add_provider(
'#http://(www\.)?youtube-nocookie\.com/embed.*#i',
'http://www.youtube-nocookie.com/oembed', true );
(untested sorry). You could even overwrite the existing providers to redirect to -nocookie and then use the video shortcode as normal. And you can do this with add_filter('oembed_providers', ... ); too if you’d prefer.
Related Posts:
- How add class youtube and type/html to oembed code?
- oEmbed youtube video aspect ratio
- Adding a wrapper to the youtube embed automatically?
- WordPress, oEmbed & YouTube video’s with a ‘dash’
- YouTube: How to extract closed caption transcript from YouTube video?
- Is there a way to get all IP addresses of youtube to block it with Windows Firewall?
- YouTube maxresdefault thumbnails
- Youtube – downloading a playlist – youtube-dl
- URL syntax for Youtube video in fullscreen and start at time index
- How to customize an end time for a YouTube video?
- How can I clear oEmbed caches for YouTube on posts as they are loaded
- How to Replace YouTube Videos with a “Click to Play” Thumbnail?
- Modify youtube video size on one page and show another size on different page
- Set wmode attribute to transparent for the embed shortcode to make drop-down menu hover over YouTube embed in Internet Explorer
- Manipulating oembed_dataparse stopped working for YouTube embeds
- Get all Youtube video’s from posts and embed them on a different page
- WordPress 5.3.x YouTube oEmbed is not working
- Use oEmbed in List Items
- Embeding YouTube video via a template function throws iframe cross-domain policy error
- Video Embed with Captions in Turkish
- Link Youtube Channel In WordPress Site
- Embed youtube list with sidemenu opened
- Getting youtube links from post_content not working
- How can I grab the video id of youtube?
- Add latest Youtube videos on main page [closed]
- oEmbed not working in WordPress
- How to apply an ID to Shortcode Embedded iframe
- How to embed YouTube videos in posts without adding suggested videos at the end?
- How do I embed a YouTube video in WordPress 3.0?
- Div around YouTube video
- Echo do shortcode with custom field not working
- YouTube API 403 error when website restriction set
- Add parameter to first post only
- Looking to Customize YouTube Video Embeds
- How to change src link in YouTube?
- How to make an image of a YouTube video appear as a thumbnail in the list of blog posts
- Is there a way to find all posts with Youtube video embedded?
- WordPress fails to embed video URL on specific theme
- How to add srcdoc attribute to YouTube oEmbed in Gutenberg oEmbed Block
- How to modify the HTML output of Gutenberg block? (Youtube)
- WordPress and Youtube problem
- Advanced Custom Fields oEmbed video width and height
- Iframe Youtube video doesn’t work
- WordPress Mediaelement – Youtube Videos Embed Options
- display only youtube video sticky post
- Generate a WP post from Youtube Feed
- Importing YouTube Videos As Posts – From Playlists
- Avoid embedding YouTube videos and open them in a new window
- add_filter is failing to append &rel=0 to end of YouTube URL in oEmbed
- Embbeded YouTube video not showing when admin logged in
- ‘NoneType’ object has no attribute ‘group’
- YouTube: How to present embed video with sound muted
- Use [embed] filter in template files
- static variable loop not working in WordPress
- Is it possible to remove height and width attributes from oEmbed video embeds
- Markup of oEmbed codes in the editor?
- Preventing YouTube embeds loading multiple instances of player JS?
- Problems using WP’s oembed function + Instagram + AJAX
- How to use get_media_embedded_in_content function
- Getting results from wp_oembed_add_provider
- How to add oEmbed support to my theme?
- Register Embed Handler for Padlet.com
- Cannot embed YouTube video
- How to Hide Ancestors/Threads in Embedded Tweets
- How can i add all videos from youtube playlist as post?
- No option “I would like my site to be private, visible only to users I choose” in Privacy Settings
- vimeo/youtube video embed with thumbnails
- extra text in Vimeo Embedded videos
- oEmbed does not work for comments
- oEmbed 404 errors when trying to use embed block
- Responsive embed for the video shortcode
- Remove Title of youtube video
- How to disable YouTube (and any other oembed) embeding in the editor
- How to set YouTube video as featured image?
- How to save post change url youtube link?
- How to oEmbed MySite in WordPress
- Worrisome oembed hits
- What is the correct oembed provider base url for self-hosted wordpress sites
- How to change the oembed “type”?
- YouTube Sidebar Widget – YouTube service unavailable
- Forcing WP to embedd a video when using a shortcode
- I’m having a problem viewing the Youtube video
- Pull Youtube Link from 2nd WP_Editor
- How To Use YouTube Url Stored In Custom Field To Get Video Image and Set it As Featured Image
- how can i display all youtube videos from a users youtube account
- Rename Smart YouTube’s httpv back to http for all posts
- Different size video display for category page (smaller) & detail page (larger)
- Thumbnail image doesn’t show up in Shortcode output
- Security when outputing wp_oembed_get code
- Keep excerpt from stripping URLs and enable autoembed for youtube ONLY?
- Why doesn’t wp_oembed_get() for the video post format not work?
- Add youtube embed to woocommerce variations
- Extract links inside embed tags in WordPress
- Adding an official oEmbed provider to WordPress
- Turn twitter-urls into list timelines?
- You tube videos Appear Different Dimension
- How to load post_meta for custom post type via Ajax
- How do I protect my uploads?
- feed url problem
- How to make Media Library files private?