LaravelPackages.net
Acme Inc.
Toggle sidebar
fynduck/video-url-parser

A description for videoUrlParser.

1.648
0
2.0
About fynduck/video-url-parser

fynduck/video-url-parser is a Laravel package for a description for videourlparser.. It currently has 0 GitHub stars and 1.648 downloads on Packagist (latest version 2.0). Install it with composer require fynduck/video-url-parser. Discover more Laravel packages by fynduck or browse all Laravel packages to compare alternatives.

Last updated

VideoUrlParser

Software License Latest Version on Packagist Total Downloads

Install

composer require fynduck/video-url-parser

Check is valid video url (youtube, rutube, vimeo)

$returnServiceNameIfValid = (new VideoUrlParse())->isValidURL('url') //invalid return false
$srcLink = (new VideoUrlParse())->returnSrcForEmbed($url, $domain = false)

if your know domain this link (youtube, rutube, vimeo), put domain.

if your don't know domain, put url only, script will find domain name (if is correct)

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.

Star History Chart