Zayar.

Tivy

Flutter package for getting video quality urls for vimeo and youtube.

style: very good analysis Powered by Mason License: MIT Pub Version (including pre-releases)

Utility package for getting video quality urls for vimeo and youtube.

Installation 💻

❗ In order to start using Tivy you must have the Flutter SDK installed on your machine.

Add tivy to your pubspec.yaml:

yaml

dependencies: tivy:

Install it:

sh

flutter packages get

Usage

  • Import package

    dart

    import 'package:tivy/tivy.dart';
  • Use with vimeo video url

    dart

    final videoQualityUrls = await tivy.getVideoQualityUrls( 'your_vimeo_video_url', );
  • Use with vimeo video id

    dart

    final videoQualityUrls = await tivy.getVideoQualityUrls( 'your_vimeo_video_id', );
  • For vimeo private video

    dart

    final videoQualityUrls = await tivy.getPrivateVimeoVideoQualityUrls( 'your_private_vimeo_video_id', { 'key': 'value', }, );
  • For YouTube video url.

    dart

    final videoQualityUrls = await tivy.getYouTubeVideoQualityUrls( 'your_youtube_video_url', );
  • For YouTube live streaming video url.

    dart

    final videoQualityUrls = await tivy.getYouTubeVideoQualityUrls( 'your_youtube_video_url', live: true, );
  • #dart,
  • #flutter,
  • #package