From dfeddb78b0917d383a22a1b1e8fc7391e558cf41 Mon Sep 17 00:00:00 2001 From: feny85 Date: Sat, 27 Feb 2021 01:29:42 +0800 Subject: [PATCH] Added Coub support --- data/stubs.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/data/stubs.php b/data/stubs.php index 4ea2ae6..382e846 100644 --- a/data/stubs.php +++ b/data/stubs.php @@ -44,6 +44,17 @@ 'image-src' => '//img.youtube.com/vi/$2/0.jpg', 'iframe-player' => '//www.youtube.com/embed/$2', ], + [ + 'name' => 'Coub', + 'website' => 'https://coub.com', + 'url-match' => [ + 'https?://coub.com/view/([0-9a-z-_]{4,7})', + ], + 'embed-src' => 'https://coub.com/view/$2', + 'embed-width' => '640', + 'embed-height' => '360', + 'iframe-player' => '//coub.com/embed/$2', + ], [ 'name' => 'Facebook', 'website' => 'https://www.facebook.com',