youtube_captioned_player

Creator: coderz1093

Last updated:

0 purchases

youtube_captioned_player Image
youtube_captioned_player Images
Add to Cart

Description:

youtube captioned player

This Library was prepared using
video_player
and youtube_explode_dart.

Video Player is with subtitles and without YouTube iframe.

Usage #
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key});

@override
State<MyHomePage> createState() => _MyHomePageState();
}

late Video video;

class _MyHomePageState extends State<MyHomePage> {
@override
void initState() {
video = Video(videoId: "mKdjycj-7eE", captionLanguageCode: "en", setLoop: false);
setState(() {});
super.initState();
}

@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: YoutubeCaptionedPlayer(
video: video,
isUi: true,
caption: true,
sound: true,
allowScrubbing: true,
),
),
);
}
}
copied to clipboard
Additional information #
video_player
youtube_explode_dart

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.