opt: 播放器单例

This commit is contained in:
guozhigq
2024-05-15 23:55:04 +08:00
parent 5a10dbaf4c
commit 44f2a168ce
7 changed files with 21 additions and 23 deletions

View File

@ -74,7 +74,7 @@ class VideoDetailController extends GetxController
final scaffoldKey = GlobalKey<ScaffoldState>();
RxString bgCover = ''.obs;
RxString cover = ''.obs;
PlPlayerController plPlayerController = PlPlayerController.getInstance();
PlPlayerController plPlayerController = PlPlayerController();
late VideoItem firstVideo;
late AudioItem firstAudio;