Flutter Youtube Player:
In this tutorial, we are going to learn to create a youtube player in Flutter app without an API key. with a Qualities of these ranges(144p, 240p, 360p, 480p, 720p and 1080p).
Please Note:
This Youtube Player plugin supports for Android only we will come off with IOS app later on. this Youtube Player was developed on Official Iframe API.
Salient Features of Youtube Player In Flutter App:
- Supports HD and Full HD quality
- Playable through <video id> or <link>
- No need for API Key and no Limitations
- Supports Live Stream Videos
- Inline playback
- Thumbnail Support
- Youtube-like controls
- Customizable Controls
New features added in this Youtube Player are given below:
- Change video quality on-the-fly.
- Share the video with other apps.
- Fast Forward and Rewind with a double tap.
- Tap-and-hold to enter and exit fullscreen.
- Auto resize as per the video’s aspect rat
Creating Youtube Player App In Flutter:
Add the dependency package to pubspec.yaml file:
Use the below code to add the dependency package to pubspec.yaml file.