title: Flutter Video player issue in init
body: <p>I don`t know why this code is not working<br />
  I keep getting an exception in video player init, why is that?
  What is wrong with my code?
  Flutter offical website : pub.dev says i did,<br />
  The video player is the latest version and the flutter version is 2.2.3 the most recent.</p>
  <p><a href="https://i.stack.imgur.com/Dejyd.png" rel="nofollow noreferrer">https://i.stack.imgur.com/Dejyd.png</a>
  error : <a href="https://i.stack.imgur.com/bb3lD.jpg" rel="nofollow noreferrer">enter image description here</a></p>
  <p>And this is my code</p>
  <pre><code>class __ContentHeaderDesktopState extends State&lt;_ContentHeaderDesktop&gt; {
  
    late VideoPlayerController _videoPlayerController;
    bool _isMuted = true;
  
    @override
    void initState() { 
      _videoPlayerController = VideoPlayerController.asset(widget.featuredContent.videoUrl!);
      _videoPlayerController.addListener(() {
        setState(() { });
      });
      _videoPlayerController.initialize().then((_) =&gt; setState((){}));
      _videoPlayerController.play();
  
      super.initState();
  
    }
  
    @override
    void dispose() {
      _videoPlayerController.dispose();
      super.dispose();
    }
  
    @override
    Widget build(BuildContext context) {
      return GestureDetector(
        onTap: () =&gt; _videoPlayerController.value.isPlaying 
            ? _videoPlayerController.pause()
            : _videoPlayerController.play(),
        child: Stack(
        alignment: Alignment.bottomLeft,
        children: [
          AspectRatio(
            aspectRatio: _videoPlayerController.value.isInitialized 
            ? _videoPlayerController.value.aspectRatio
            : 2.344,
            child: _videoPlayerController.value.isInitialized 
              ? VideoPlayer(_videoPlayerController)
              : Image.asset(
                widget.featuredContent.imageUrl,
                fit: BoxFit.cover,
              ),          
          ),
  ...
  
  </code></pre>