jraufeisen / Flutter-Fullscreen-VLC-Player-Demo

Demonstrating a common workaround for the `flutter_vlc_player` package to display videos in landscape without automatically playing them

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fullscren VLC player demo

The flutter_vlc_player package allows you to use the power of VLC player in your flutter app. However, the VLCPlayer widget behaves different from flutter's own VideoPlayer.

This example project shows how to

  • present a video in landscape fullscreen
  • scale the video interactively via zoom gestures
  • stop autoplaying the video, i.e. workaround for this bug

See this question on stackoverflow for more guidance.

Demo.mp4

Legal

The example video is domain free and can be found here: https://www.pexels.com/video/train-transporting-public-above-the-mountains-alps-of-switzerland-3640406/

About

Demonstrating a common workaround for the `flutter_vlc_player` package to display videos in landscape without automatically playing them


Languages

Language:Dart 78.1%Language:Ruby 15.2%Language:Swift 4.6%Language:Kotlin 1.7%Language:Objective-C 0.4%