Mindinventory / vimeo_video_player

A Video Player For Vimeo Videos in Flutter. This plugin allows us to play video from Vimeo and it supports Android and iOS platforms.
https://www.mindinventory.com/flutter-app-development.php
MIT License
34 stars 37 forks source link

LateInitializationError: Field '_videoPlayerController@2932358648' has not been initialized. #14

Closed akshay-appinventiv closed 1 year ago

akshay-appinventiv commented 1 year ago

Getting this error few times not sure what to initialize

using vimeo_video_player : 0.0.6

got this exception

**When the exception was thrown, this was the stack:

0 _VimeoVideoPlayerState._videoPlayerController (package:vimeo_video_player/src/vimeo_player.dart)

1 _VimeoVideoPlayerState.deactivate (package:vimeo_video_player/src/vimeo_player.dart:91:5)

2 StatefulElement.deactivate (package:flutter/src/widgets/framework.dart:4976:11)

3 _InactiveElements._deactivateRecursively (package:flutter/src/widgets/framework.dart:1944:13)

4 SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6271:14)

5 _InactiveElements._deactivateRecursively (package:flutter/src/widgets/framework.dart:1946:13)

6 MultiChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6386:16)

7 _InactiveElements._deactivateRecursively (package:flutter/src/widgets/framework.dart:1946:13)**

mohit-chauhan-mi commented 1 year ago

@akshay-appinventiv Can you please share more details on this

deep-mindinventory commented 1 year ago

@akshay-appinventiv Kindly share steps for reproducing this issue as we are unable get this.

akshay-appinventiv commented 1 year ago

@deep-mindinventory this was happening when i have multiple players in a single screen

deep-mindinventory commented 1 year ago

same as #22