video_viewer 1.0.1 copy "video_viewer: ^1.0.1" to clipboard
video_viewer: ^1.0.1 copied to clipboard

outdated

Multiplatform minimalist video viewer with spectacular user experience.

video_viewer #


My other APIs #


Features #

  • Amazing UI / UX
  • Fully customizable
  • Fancy animations
  • Easy and powerful implementation! :)



Installation #

First, add video_viewer as a dependency in your pubspec.yaml.

dependencies:
  video_viewer: ^1.0.1

Android #

Add android.permission.INTERNET and usesCleartextTraffic in your Android Manifest file, located in <project_root>/android/app/src/main/AndroidManifest.xml

<manifest>
    <uses-permission android:name="android.permission.INTERNET"/>
    <application android:usesCleartextTraffic="true"></aplication>
</manifest>

iOS #

Add the following entry to your Info.plist file, located in <project_root>/ios/Runner/Info.plist

<key>NSAppTransportSecurity</key>
<dict>
  <key>NSAllowsArbitraryLoads</key>
  <true/>
</dict>

Warning: The video player is not functional on iOS simulators. An iOS device must be used during development/testing.



Global Gestures #

  • One Tap: Show or hide the overlay that contains the PlayAndPauseWidget and the ProgressBar
  • Double tap:
    • Left: Double tapping on the left side of the VideoViewer will do the rewind. Default 10 seconds.
    • Right: Double-tapping on the right side of the VideoViewer will forward. Default 10 seconds.
  • Horizontal Drag:
    • Left: Making a horizontal movement to the left will make a rewind proportional to the distance traveled.
    • Right: Making a horizontal movement to the right will make a forward proportional to the distance traveled.



Overlay buttons #

Playing Paused



Rewind and Forward #

Double Tap Rewind Double Tap Forward



Fullscreen #

Portrait Landscape



Settings Menu #

Principal Menu Quality Menu
212
likes
0
pub points
86%
popularity

Publisher

verified publisherfelipemurguia.com

Multiplatform minimalist video viewer with spectacular user experience.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, helpers, video_player

More

Packages that depend on video_viewer