Skip to content

Commit

Permalink
Merge pull request #40 from erikfrerejean/bug/39
Browse files Browse the repository at this point in the history
#39, add support for unlisted vimeo videos.
  • Loading branch information
dereuromark authored Sep 6, 2019
2 parents 297c416 + 65afc78 commit 9ee4853
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/stubs.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
[
'name' => 'Vimeo',
'website' => 'http://www.vimeo.com',
'url-match' => 'https?://(?:www\.)?vimeo\.com/(?:[0-9a-z_-]+/)?(?:[0-9a-z_-]+/)?([0-9]{1,})',
'url-match' => 'https?:\/\/(www\.)?vimeo.com\/(channels\/[a-zA-Z0-9]*\/)?([0-9]*)(?:\/[a-zA-Z0-9]+)?(\#t=(\d+)s)?',
'embed-src' => 'http://vimeo.com/moogaloop.swf?clip_id=$2&server=vimeo.com&fullscreen=1&show_title=1&show_byline=1&show_portrait=0&color=01AAEA',
'embed-width' => '400',
'embed-height' => '302',
Expand Down
1 change: 1 addition & 0 deletions tests/MediaEmbedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class MediaEmbedTest extends TestCase {
'http://www.myvideo.de/watch/7645001/Lena_Nach_Poolszene_bald_nackt_im_Playboy' => '7645001',
'http://www.metacafe.com/watch/1417475/try_it_yourself_episode_2_hacks_and_tricks_in_google/' => '1417475',
'http://vimeo.com/19570639' => '19570639',
'http://vimeo.com/245928033/572c32a20d' => '245928033',
'http://vimeo.com/channels/staffpicks/99585787' => '99585787',

'http://www.clipfish.de/special/dsds/video/3507980/dsds-recall-anna-und-tobias-harmonieren/' => '3507980',
Expand Down

0 comments on commit 9ee4853

Please sign in to comment.