youtube_video_info 1.0.0+1 copy "youtube_video_info: ^1.0.0+1" to clipboard
youtube_video_info: ^1.0.0+1 copied to clipboard

outdated

This is a lightweight⚡ package to fetch for youtube video info from the url

youtube_video_info #

flutter dart

pub.dev/youtube_video_info #

This is a lightweight⚡ package to fetch metadata for YouTube video from the url

To install, add to pubspec.yaml #

flutter:
    sdk: flutter
youtube_video_info: ^1.0.0

and then run flutter pub get

Import the library

import 'package:youtube_video_info/youtube.dart';

Calling the method #

YoutubeDataModel videoData = await YoutubeData.getData(link);

Example #

var title = videoData.title; // "Ed Sheeran - Bad Habits [Official Video]"
var averageRating = videoData.averageRating; // 4.13242
var durationSeconds = videoData.durationSeconds; // 167

example gif

15
likes
0
pub points
77%
popularity

Publisher

verified publisherbaransel.dev

This is a lightweight⚡ package to fetch for youtube video info from the url

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, html, http

More

Packages that depend on youtube_video_info