This commit is contained in:
		@@ -85,6 +85,13 @@ class _VideoWidgetState extends State<VideoWidget> {
 | 
			
		||||
  @override
 | 
			
		||||
  void didUpdateWidget(covariant VideoWidget oldWidget) {
 | 
			
		||||
    super.didUpdateWidget(oldWidget);
 | 
			
		||||
 | 
			
		||||
    if (widget.details.mediaUrl != oldWidget.details.mediaUrl) {
 | 
			
		||||
      videoController.dispose();
 | 
			
		||||
      _initController();
 | 
			
		||||
      return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (widget.isActive != oldWidget.isActive) {
 | 
			
		||||
      if (widget.isActive) {
 | 
			
		||||
        videoController.play();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user