0 purchases
easy youtube
Easy Youtube #
This package provides a simple and convenient solution for working with YouTube in your Flutter applications. It offers a range of functionalities to handle YouTube videos effortlessly.
How to get the API Key #
Enable YouTube Data API v3 into your project from GCP.
Create an API Key from GCP.
How to use #
How to get youtube video id
final youtube =
Youtube(url: 'https://www.youtube.com/watch?v=YBmFxBb9U6g');
print('id: ${youtube.getVideoId()}');
copied to clipboard
How to get youtube video information
final youtube =
Youtube(url: 'https://www.youtube.com/watch?v=YBmFxBb9U6g');
final snippet = await youtube.getSnippet(apiKey: '___xxx___');
print('snippet: $snippet');
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.