From 06021443b0ae951dcfd996bf957630e49675fd15 Mon Sep 17 00:00:00 2001 From: tibfox Date: Mon, 19 Oct 2026 07:15:50 +0000 Subject: [PATCH] Add 3Speak media site --- collection/sites/threespeak.yml | 6 ++++++ tests/custom_sites_collection_test.php | 1 + 2 files changed, 7 insertions(+) create mode 100644 collection/sites/threespeak.yml diff --git a/collection/sites/threespeak.yml b/collection/sites/threespeak.yml new file mode 100644 index 0000000..f3cf640 --- /dev/null +++ b/collection/sites/threespeak.yml @@ -0,0 +1,6 @@ +name: 3Speak +host: 3speak.tv +example: https://3speak.tv/watch?v=seckorama/sumski-vinodol +extract: "!//(?:www\\.)?3speak\\.tv/watch\\?v=(?'author'[a-z][a-z0-9.-]{1,14}[a-z0-9])/(?'permlink'[a-z0-9-]+)!" +iframe: + src: https://play.3speak.tv/watch?v={@author}/{@permlink}&mode=iframe diff --git a/tests/custom_sites_collection_test.php b/tests/custom_sites_collection_test.php index bea03b3..c9a5217 100644 --- a/tests/custom_sites_collection_test.php +++ b/tests/custom_sites_collection_test.php @@ -53,6 +53,7 @@ public function test_get_collection() $this->assertContains('phpBB/ext/phpbb/mediaembed/collection/sites/ok.yml', $collection); $this->assertContains('phpBB/ext/phpbb/mediaembed/collection/sites/schooltube.yml', $collection); $this->assertContains('phpBB/ext/phpbb/mediaembed/collection/sites/tenor.yml', $collection); + $this->assertContains('phpBB/ext/phpbb/mediaembed/collection/sites/threespeak.yml', $collection); $this->assertContains('phpBB/ext/phpbb/mediaembed/collection/sites/videopress.yml', $collection); $this->assertContains('phpBB/ext/phpbb/mediaembed/collection/sites/yamusic.yml', $collection); }