Skip to content
pubscout

video_url_validator

1.0.4, released a year ago by 7span.com

Validate video URLs from popular platforms like YouTube, Facebook, Vimeo, Dailymotion, and Wistia.

WASM-ready
$ flutter pub add video_url_validator
Source repository

What it does

Provides a VideoURLValidator class with methods to validate specific video platform URLs such as YouTube, Facebook, Vimeo, Dailymotion, and Wistia. It helps ensure user-submitted or fetched video links match expected formats for popular streaming platforms.

AI-written summary of version 1.0.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to validate video link inputs in forms or user-submitted content.
  • Your application embeds or links to videos from YouTube, Vimeo, Facebook, Dailymotion, or Wistia.

Skip it when

  • You need to validate arbitrary URLs that do not belong to the supported video platforms.
  • You require playback, downloading, or streaming functionality rather than simple URL validation.

Strengths

  • Supports multiple popular video platforms out of the box.
  • Simple and straightforward API usage with no external package dependencies.

Weaknesses

  • Limited to five specific video platforms.
  • Only provides validation methods, no video fetching or metadata extraction.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0
var validator = VideoURLValidator();
validator.validateYouTubeVideoURL(url: 'https://youtube.com/watch?v=23433');

Alternatives

Packages that do the same job and could replace video_url_validator.