How can I add player parameters to a core oembed field for a youtube video? For example, if I enter this url that contains the player parameters to remove controls and autoplay, oembed field on my media type does not allow it (&quot;The given URL does not match any known oEmbed providers.&quot;.
https://youtu.be/9ot0rIlhbNE?autoplay=1&amp;fs=0&amp;controls=0&amp;modestbranding=1


If I paste just the base url, then it works.
Any thoughts?
Edit: Based on Yuseferi answer, I have isolated the Youtube section if the providers.json.
{
    &quot;provider_name&quot;: &quot;YouTube&quot;,
    &quot;provider_url&quot;: &quot;https:\/\/www.youtube.com\/&quot;,
    &quot;endpoints&quot;: [
        {
            &quot;schemes&quot;: [
                &quot;https:\/\/*.youtube.com\/watch*&quot;,
                &quot;https:\/\/*.youtube.com\/v\/*&quot;,
                &quot;https:\/\/youtu.be\/*&quot;
            ],
            &quot;url&quot;: &quot;https:\/\/www.youtube.com\/oembed&quot;,
            &quot;discovery&quot;: true
        }
    ]
}
I had the same problem before with a local provider. So I share the solution I used and hope it works for you too.
The Drupal core, fetch providers form https://oembed.com/providers.json automatically. So you need to change the provider to what you want.
Oembed Providers module helps to add custom providers too.


Add custom oEmbed providers via an admin user interface (providers are
stored in configuration)
Global enable/disable of providers
Modify the provider list URL (which is &gt; defaulted to
https://oembed.com/providers.json)
Disable the fetching of the
provider list (useful in an instance where only custom providers are
used)
Provides hook_oembed_providers_alter() to alter provider
definitions


So, all you need is to add a new provider for your custom provider &quot;youtu.be&quot; with your parameters too.
try it and let me know if you need more details.;)
Screenshots that shows it's working without any validation error:


what I did, was just add &quot;oembed_providers&quot; module and enabled it