Last updated:
0 purchases
flutter simple video player
flutter_page_video #
Flutter 视频播放插件
依赖 #
dependencies:
flutter_simple_video_player: ^0.0.9
copied to clipboard
示例 #
import 'package:flutter/material.dart';
import 'package:flutter_simple_video_player/simple_video_player.dart';
void main() {
runApp(MaterialApp(
home: MyApp()
));
}
// http://184.72.239.149/vod/smil:BigBuckBunny.smil/playlist.m3u8
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Demo"),
),
body: Container(
height: 300.0,
child: SimpleViewPlayer("http://184.72.239.149/vod/smil:BigBuckBunny.smil/playlist.m3u8", isFullScreen: false,),
)
);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.