youtube_downloader 0.0.6 copy "youtube_downloader: ^0.0.6" to clipboard
youtube_downloader: ^0.0.6 copied to clipboard

youtube_downloader is a Flutter package that allows the developers to download youtube videos in several formats such as mp3 and mp4.

youtube_downloader #

youtube_downloader is a Flutter package that allows the developers to download youtube videos in several formats such as mp3 and mp4. You can define from videos boundaries which means you can download only a part from the while video. In fact this feature automatically trim and delete the unwanted parts from the video. Also, this feature is applicable on mp3 formats.

Features #

  • Get all information about youtube any youtube video.
  • Navigate to youtube video and provide downloading url.
  • Provide other information about youtube video such as thumbnail images and their dimensions.
  • Support Multiple formats such as mp3 and mp4.

Usage #

FutureBuilder<VideoInfo>(
        future: youtubeDownloader.downloadYoutubeVideo(
            "https://www.youtube.com/watch?v=CLn45NV6onE", "mp3"),
        builder: (context, snapshot) {
          return snapshot.hasData
              ? ElevatedButton(
                  onPressed: () {
                    print(snapshot.data?.authorName);
                    print(snapshot.data?.authorUrl);
                    print(snapshot.data?.downloadUrl);
                    print(snapshot.data?.height);
                    print(snapshot.data?.html);
                    print(snapshot.data?.providerUrl);
                    print(snapshot.data?.thumbnailHeight);
                    print(snapshot.data?.thumbnailWidth);
                    print(snapshot.data?.thumbnailUrl);
                    print(snapshot.data?.title);
                    print(snapshot.data?.type);
                    print(snapshot.data?.width);
                  },
                  child: const Text("Download Video"))
              : const CircularProgressIndicator();
        },
      ),
copied to clipboard

Author: Nabil Krissane #


45
likes
140
points
78
downloads

Publisher

verified publishernabilkrissane.cf

Weekly Downloads

2024.09.26 - 2025.04.10

youtube_downloader is a Flutter package that allows the developers to download youtube videos in several formats such as mp3 and mp4.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on youtube_downloader