A flutter plugin to play Youtube Videos “inline” without API Key in ranges of Quality(240p, 360p, 480p, 720p and 1080p).
- Inline playback
- Supports HD and Full HD quality
- No need for API Key and no Limitations
- Thumbnail Support
- Playable through or
- Picture in Picture for Android SDK > 24
- Customizable Controls
Add this to you package’s pubspec.yaml file:
$ flutter packages get
Import in Dart code:
4. Using Youtube Player
/// LOW = 240p
/// MEDIUM = 360p
/// HIGH = 480p
/// HD = 720p
/// FHD = 1080p
/// “source” can be either youtube video ID or link.
/// “showThumbnail” Default is true.
/// “acpectRatio” Default is 16/9
- Only Available for Android (Currently)
- Support for ios
- Adaptive playback as per the internet bandwidth
- High level of customization
Copyright 2019 Sarbagya Dhaubanjar
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Credit (github url) : https://github.com/sarbagyastha/youtube_player