Skip to content

A Flutter package for embedding Vimeo videos with customizable playback controls, events handling.

License

Notifications You must be signed in to change notification settings

taiseiiiii/custom_vimeo_player

Repository files navigation

custom_vimeo_player

Flutter Website Dart Website

A Flutter package for embedding Vimeo videos with customizable playback controls, events handling.

Features

  • Simple vimeo video integration
  • Customizable player controls (autoPlay, loop, muted, etc.)
  • Event handling (play, pause, end, etc.)
  • Native iOS/Android support via InAppWebView
  • MIT licensed

Preview

custom_vimeo_player

Usage

import 'package:custom_vimeo_player/custom_vimeo_player.dart';

CustomVimeoPlayer(
  videoId: '<your_vimeo_id>',
),

Required parameters


Parameter Description
String vimeoId The ID of the Vimeo video to be played.

Optional parameters


Parameter Description
bool autoPlay automatically starts playback when loaded (default: false)
bool loop loops video when it ends (default: false)
bool muted starts video muted (default: false)
bool showTitle shows video title (default: false)
bool showByline shows video byline (default: false)
bool controls shows playback controls (default: true)
bool dnt prevents tracking (Do Not Track) (default: true)
VoidCallback? onReady called when video is ready play
VoidCallback? onPlay called when video starts playing
VoidCallback? onPause called when video is paused
VoidCallback? onEnd called when video ends
VoidCallback? onSeeked called when video position is changed

Dependencies

About

A Flutter package for embedding Vimeo videos with customizable playback controls, events handling.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published