youtube_video_info

Creator: coderz1093

Last updated:

0 purchases

youtube_video_info Image
youtube_video_info Images
Add to Cart

Description:

youtube video info

youtube_video_info #


pub.dev/youtube_video_info #
This is a lightweight⚡ package to fetch video info for YouTube from the url
To install, add to pubspec.yaml #
flutter:
sdk: flutter
youtube_video_info: ^1.0.2
copied to clipboard
and then run flutter pub get
Import the library
import 'package:youtube_video_info/youtube.dart';
copied to clipboard
Calling the method #
YoutubeDataModel videoData = await YoutubeData.getData(link);
copied to clipboard
Example #
var title = videoData.title; // "Ed Sheeran - Bad Habits [Official Video]"
var averageRating = videoData.averageRating; // 4.13242
var durationSeconds = videoData.durationSeconds; // 167
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.