diff --git a/src/Adapters/Vimeo.php b/src/Adapters/Vimeo.php new file mode 100644 index 00000000..511dadea --- /dev/null +++ b/src/Adapters/Vimeo.php @@ -0,0 +1,22 @@ +isValid([200, 403]) && $response->getUrl()->match([ + 'vimeo.com/*', + ]); + } +} diff --git a/src/Providers/OEmbed/Vimeo.php b/src/Providers/OEmbed/Vimeo.php new file mode 100644 index 00000000..dfe85145 --- /dev/null +++ b/src/Providers/OEmbed/Vimeo.php @@ -0,0 +1,9 @@ +assertEmbed( + 'https://vimeo.com/235352744', + [ + 'title' => 'Vimeo Live is here', + 'providerName' => 'Vimeo', + 'width' => 640, + 'height' => 360, + 'code' => '', + ] + ); + } +}