qyplayer
Install
add qyplayer as a dependency in your pubspec.yaml file.
iOS
If you need to access videos using http (rather than https) URLs, you will need to add the appropriate NSAppTransportSecurity permissions to your app's Info.plist file, located in
Android
If you are using network-based videos, ensure that the following permission is present in your Android Manifest file, located in
<uses-permission android:name="android.permission.INTERNET"/>
macOS
If you are using network-based videos, you will need to add the com.apple.security.network.client entitlement
Sample
import 'package:qyplayer/qyplayer.dart';
QYPlayer(
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height,
src: 'http://live.m2.tv/hls3/stream.m3u8',
);
Libraries
- interface/qyplayer_interface
- modals/landscape_playback_rate
- modals/modals
- modals/portrait_playback_rate
- providers/video_controller_model
- qyplayer
- utils/custom_notification
- utils/formatter
- utils/local_image
- Widgets/controls
- Widgets/widget_base
- Widgets/widget_big_play
- Widgets/widget_error
- Widgets/widget_fullscreen
- Widgets/widget_loading
- Widgets/widget_play
- Widgets/widget_playback_rate
- Widgets/widget_poster
- Widgets/widget_progress
- Widgets/widget_time
- Widgets/widget_volume