youtube_validator 1.0.2 copy "youtube_validator: ^1.0.2" to clipboard
youtube_validator: ^1.0.2 copied to clipboard

This is a small package to validate the youtube video link and playlist link and we can also check the availability of video or playlist.

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.

4
likes
150
points
23
downloads
screenshot

Publisher

verified publisher24-converter.com

Weekly Downloads

This is a small package to validate the youtube video link and playlist link and we can also check the availability of video or playlist.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http

More

Packages that depend on youtube_validator