Closed faizan1947 closed 1 year ago
You can just call the play
function on the normal VideoPlayerController
after the player has been initialised:
videoPlayerController = VideoPlayerController.networkUrl(Uri.tryParse(widget.url) ?? Uri())
..initialize().then((value) {
setState(() {});
videoPlayerController.play();
});
Hey @faizan1947 , closing this issue because the approach by @4A6F6F6E61 is correct and should work.
I'm not finding any parameter to turn on auto-play video