qyplayer 0.0.7
qyplayer: ^0.0.7 copied to clipboard
a versatile video player. Supports m3u8, flv, mp4, and more. Simple, yet powerful, with a clean interface for seamless video playback in your Flutter projects.
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',
);