<dict>

<key>NSAllowsArbitraryLoads

</key>

<true/>

</dict>

Warning:
  The video_player plugin doesn’t work on iOS simulators.
  You must test videos on real iOS devices.

3. Create and initialize a VideoPlayerController

Now that you have the video_player plugin installed with the correct
permissions, create a VideoPlayerController. The
VideoPlayerController class allows you to connect to different types of
videos and control playback.

Before you can play videos, you must also initialize the controller.
This establishes the connection to the video and prepare the
controller for playback.

To create and initialize the VideoPlayerController do the following:

Create a StatefulWidget with a companion State class

Add a variable to the State class to store the VideoPlayerController