mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
opt: video widget
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -754,7 +754,7 @@ class PlPlayerController {
|
||||
play: false,
|
||||
);
|
||||
} else {
|
||||
await player.open(
|
||||
player.open(
|
||||
Media(dataSource.videoSource!,
|
||||
httpHeaders: dataSource.httpHeaders, start: seekTo),
|
||||
play: false,
|
||||
@@ -1564,8 +1564,7 @@ class PlPlayerController {
|
||||
var pp = _videoPlayerController!.platform as NativePlayer;
|
||||
await pp.setProperty('audio-files', '');
|
||||
removeListeners();
|
||||
await _videoPlayerController?.stop();
|
||||
await _videoPlayerController?.dispose();
|
||||
await _videoPlayerController!.dispose();
|
||||
_videoPlayerController = null;
|
||||
}
|
||||
_instance = null;
|
||||
|
||||
Reference in New Issue
Block a user