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); }