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();
 | 
			
		||||
 
 | 
			
		||||
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
 | 
			
		||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
 | 
			
		||||
# In Windows, build-name is used as the major, minor, and patch parts
 | 
			
		||||
# of the product and file versions while build-number is used as the build suffix.
 | 
			
		||||
version: 1.4.4+65
 | 
			
		||||
version: 1.4.5+66
 | 
			
		||||
 | 
			
		||||
environment:
 | 
			
		||||
  sdk: ^3.9.0-100.2.beta
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user