fix:播放插件切换名字
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_common/utils/file/video/lib/chewie.dart';
|
||||
import 'package:video_player/video_player.dart';
|
||||
|
||||
|
||||
|
||||
|
||||
class VideoPlayPage extends StatefulWidget {
|
||||
final String? videoUrl;
|
||||
const VideoPlayPage({super.key, this.videoUrl});
|
||||
|
||||
@@ -2,17 +2,17 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:omni_video_player/omni_video_player.dart';
|
||||
|
||||
class VideoPlayPage extends StatefulWidget {
|
||||
class PlayVideoPage extends StatefulWidget {
|
||||
|
||||
final String videoUrl;
|
||||
|
||||
const VideoPlayPage({super.key, required this.videoUrl});
|
||||
const PlayVideoPage({super.key, required this.videoUrl});
|
||||
|
||||
@override
|
||||
State<VideoPlayPage> createState() => _VideoPlayPageState();
|
||||
State<PlayVideoPage> createState() => _PlayVideoPageState();
|
||||
}
|
||||
|
||||
class _VideoPlayPageState extends State<VideoPlayPage> {
|
||||
class _PlayVideoPageState extends State<PlayVideoPage> {
|
||||
OmniPlaybackController? _controller;
|
||||
@override
|
||||
void initState() {
|
||||
Reference in New Issue
Block a user