Skip to content

cesarferreira/youtube_validator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video URL Validator validates URLs from Popular Video Platforms

Platforms Supported

  • Youtube
    • Check url is valid video url.
    • Check url is valid playlist url.
    • Check url is availble on youtube or not.
    • Check url is a youtube url or not.

Usage

Example

import 'package:youtube_video_validator/youtube_validator.dart';

void main() {
  print(
      'isValid: ${VideoURLValidator.validateYouTubeVideoURL(url: 'https://youtube.com/watch?v=23433')}');
  print(
      'Playlist/Video: ${VideoURLValidator.checkURLisVideoOrPlaylistYoutube(url: 'https://youtube.com/watch?v=23433')}');
  print(
      'Available: ${VideoURLValidator.checkVideoIsAvailOnYoutube(url: 'https://youtube.com/watch?v=23433')}');
}

Contributors

Ravi Taak

Having Issues

File the Issue here

Looking to contribute to this package:

🤘🏻 Great! Fork the Repo, Update Code, Write a meaningful Commit Message, Send a PR. That's all you need to Contribute.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%