AudioDidact\SupportedSites\Vimeo::setVimeoID
Set YouTube ID from a given string using parseYoutubeURL
Signature
private function setVimeoID(string
$str )
Parameters
$str
— string
Returns
- bool
Errors/Exceptions
Test Coverage
Information
- Coverage: / Lines (%)
- Tests: 5
- Passed: 5 (100%)
Tests
- [ PASSED ] — VimeoTest::testConstructor
- [ PASSED ] — VimeoTest::testBadURL
- [ PASSED ] — VimeoTest::testBadID
- [ PASSED ] — VimeoTest::testPrivateVideo
- [ PASSED ] — VimeoTest::testDownload