$service = new OEmbed();
$result = $service->get(
// Instead of new Uri('https://www.facebook.com/FacebookDeutschland/videos/2403439749688130/')
'https://www.facebook.com/FacebookDeutschland/videos/2403439749688130/',
480,
300,
['omitscript' => true]
);
echo (string)$result;
OEmbedhasUriFactoryInterfaceinstance so can createUriby themself