Search packages, repositories and app categories

Package detailsv1.0.1

youtube_metadata

A lightweight⚡ Flutter package that can fetch basic data from a youtube video url including thumbanail url

AndroidiOSWebmacOSWindowsLinux
30-day downloads
52
Likes
24
Pub points
130

Install package

flutter pub add youtube_metadata

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A lightweight Flutter package that retrieves basic metadata from a YouTube video URL, such as the thumbnail URL. Designed for quick integration into apps needing minimal YouTube data without full video playback. It supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux. The package is ideal for displaying video previews, thumbnails in lists, or fetching metadata before loading videos. It relies on efficient parsing of YouTube URLs to extract essential information with minimal overhead.

Use cases

  • Displaying YouTube thumbnails in app lists
  • Fetching video metadata for preview cards
  • Integrating YouTube content into feeds
  • Preloading video info before playback
  • Building social media-style video galleries

Key features

  • Lightweight and fast
  • Extracts thumbnail URLs
  • Supports multiple platforms
  • Simple API with minimal setup
  • No need for YouTube Data API key

Suitable for

  • Apps needing video thumbnails
  • Developers avoiding complex APIs
  • Projects with limited bandwidth
  • Simple video preview features
  • Cross-platform multimedia apps

Considerations

  • Limited to basic metadata only
  • Does not support full video details
  • Relies on YouTube's public page structure
  • May break if YouTube changes HTML layout
  • Not suitable for large-scale data retrieval

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

youtube_metadata

flutter dart

pub.dev/youtube_metadata

Hi! This is a lightweight⚡ package to fetch basic metadata for youtube video from the url

To install, add to pubspec.yaml
flutter:
    sdk: flutter
  youtube_metadata: ^1.0.0

and then run flutter pub get

Calling the method
MetaDataModel metaData = await YoutubeMetaData.getData(link);

example gif

Categories

Dependencies

Dependency list 2 items

Source repository

Projects using this package

No data available yet.