0 purchases
tivy
Tivy #
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:
dependencies:
tivy:
copied to clipboard
Install it:
flutter packages get
copied to clipboard
Usage #
Import package
import 'package:tivy/tivy.dart';
copied to clipboard
Use with vimeo video url
final videoQualityUrls = await tivy.getVideoQualityUrls(
'your_vimeo_video_url',
);
copied to clipboard
Use with vimeo video id
final videoQualityUrls = await tivy.getVideoQualityUrls(
'your_vimeo_video_id',
);
copied to clipboard
For vimeo private video
final videoQualityUrls = await tivy.getPrivateVimeoVideoQualityUrls(
'your_private_vimeo_video_id',
{
'key': 'value',
},
);
copied to clipboard
For YouTube video url.
final videoQualityUrls = await tivy.getYouTubeVideoQualityUrls(
'your_youtube_video_url',
);
copied to clipboard
For YouTube live streaming video url.
final videoQualityUrls = await tivy.getYouTubeVideoQualityUrls(
'your_youtube_video_url',
live: true,
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.