Tivy

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:

dependencies:
  tivy:

Install it:

flutter packages get

Usage

  • Import package

    import 'package:tivy/tivy.dart';
    
  • For vimeo video

    final videoQualityUrls = await Tivy.getVideoQualityUrls(
      'your_private_vimeo_video_id',
      accessToken: 'your_access_token',
    );
    
  • For YouTube video url.

    final youTubeVideoUrl = await Tivy.getYouTubeVideoQualityUrls(
      'your_youtube_video_url',
    );
    // Available muxed video links with audio and video
    // Note that muxed streams are limited in quality.
    final muxedUrls = youTubeVideoUrl.muxedUrls;
    
    // Available streams video links.
    final streamsUrls = youTubeVideoUrl.streamUrls;
    

Libraries

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