yt2_audio 0.0.5 copy "yt2_audio: ^0.0.5" to clipboard
yt2_audio: ^0.0.5 copied to clipboard

A new Flutter package project.

yt2_audio #

A simple package for fetching and playing audio from any YouTube url.

Using #

Note: this package is still in early development.

Create an instance #

var yt2Music = YT2Music();

Play Audio from YouTube Id #

Once you have imported the package and instantiated it create a method to start playing audio when called. Like so.

Future<void> startAudio() async {
	await yt2Music.playUrl('HyTKsOv7cro');
}

To-Do #

  • Play audio from YouTube url
  • Cache audio
  • query videos
  • [ ]
1
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter package project.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

audioplayers, dio, flutter, path_provider, youtube_extractor

More

Packages that depend on yt2_audio