|
|
@ -63,7 +63,7 @@ class ClassDetailsVideoState extends State<ClassDetailsVideo> { |
|
|
|
videoPlayerController?.pause(); |
|
|
|
videoPlayerController?.pause(); |
|
|
|
videoPlayerController?.dispose(); |
|
|
|
videoPlayerController?.dispose(); |
|
|
|
videoPlayerController = VideoPlayerController.networkUrl( |
|
|
|
videoPlayerController = VideoPlayerController.networkUrl( |
|
|
|
Uri.parse(videoUrl), |
|
|
|
Uri.parse(videoUrl ?? ""), |
|
|
|
)..initialize().then((value) { |
|
|
|
)..initialize().then((value) { |
|
|
|
chewieAudioController = ChewieController( |
|
|
|
chewieAudioController = ChewieController( |
|
|
|
videoPlayerController: videoPlayerController!, |
|
|
|
videoPlayerController: videoPlayerController!, |
|
|
|