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

Flutter package for getting playable video quality urls for vimeo and youtube with video player.

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;
    
7
likes
140
points
108
downloads
screenshot

Documentation

API reference

Publisher

verified publisherkyawzayartun.com

Weekly Downloads

Flutter package for getting playable video quality urls for vimeo and youtube with video player.

Repository (GitHub)
View/report issues

Topics

#vimeo #youtube #utility

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

equatable, flutter, http, youtube_explode_dart

More

Packages that depend on tivy