Эх сурвалжийг харах

Refactor pause logic in VidPlayerController and fix frame navigation bug

gavin.chen 1 жил өмнө
parent
commit
c580925134

+ 3 - 0
lib/view/player/controller_old.dart

@@ -8,6 +8,7 @@ import 'package:fis_vid/data_channel/channel.dart';
 import 'package:fis_vid/data_host/data_host.dart';
 import 'package:flutter/foundation.dart';
 import 'package:vid/us/vid_us_image.dart';
+import 'package:vid/us/vid_us_probe.dart';
 
 import 'enums.dart';
 import 'events.dart';
@@ -350,6 +351,8 @@ class VidPlayerControllerNoSharing extends ChangeNotifier
 
   @override
   String get url => _dataHost.url;
+
+  VidUsProbe get probe => _dataHost.probe;
 }
 
 class _PlayAssistant {