पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

flutter_to_airplay कवर
पैकेज विवरणv2.4.0

flutter_to_airplay

Flutter प्लगइन दो विजेट्स प्रदान करता है, एक दिए गए URL या फ़ाइल पथ के लिए नेटिव AVPlayer का उपयोग करके वीडियो प्लेबैक करने के लिए और दूसरा उपलब्ध Apple डिवाइस पर एयरप्ले करने के विकल्प के साथ।

iOS
30-दिन डाउनलोड
7 हज़ार
लाइक
49
Pub अंक
150

पैकेज इंस्टॉल करें

flutter pub add flutter_to_airplay

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

iOS के लिए एक Flutter प्लगइन जो दो विजेट प्रदान करता है जो मूल AVPlayer का उपयोग करके URL या फ़ाइल पथ से वीडियो चलाते हैं। दूसरा विजेट AirPlay एकीकरण के साथ आता है, जिससे उपयोगकर्ता अपने आसपास के Apple डिवाइस जैसे Apple TV पर वीडियो सामग्री को स्ट्रीम कर सकते हैं। विशेष रूप से iOS के लिए डिज़ाइन किया गया, यह प्लेबैक के लिए सुचारू और बिना किसी बाधा के AirPlay समर्थन के लिए प्लेटफ़ॉर्म-विशिष्ट क्षमताओं का उपयोग करता है। उच्च गुणवत्ता वाले वीडियो प्लेबैक और स्ट्रीमिंग विकल्प की आवश्यकता वाले मीडिया ऐप्स के लिए आदर्श।

उपयोग

  • एप्स में URL से वीडियो स्ट्रीम करना
  • AirPlay के साथ स्थानीय वीडियो फ़ाइलें प्ले करें
  • Apple TV पर स्क्रीन मिररिंग सक्षम करें
  • Flutter ऐप्स में नेटिव वीडियो प्लेबैक का एकीकरण
  • iOS के लिए मीडिया प्लेयर विशेषताएं बनाना

मुख्य विशेषताएँ

  • मूल एवीप्लेयर एकीकरण
  • iOS में AirPlay समर्थन
  • दो निर्दिष्ट वीडियो प्लेबैक विजेट्स
  • URL और फ़ाइल पथ वीडियो स्रोत
  • iOS-केवल प्लेटफॉर्म लक्ष्य

इनके लिए उपयुक्त

  • iOS मीडिया एप्लिकेशन
  • वीडियो स्ट्रीमिंग ऐप्स
  • AirPlay कार्यक्षमता की आवश्यकता वाले ऐप्स
  • Apple इकोसिस्टम का लक्ष्य बनाने वाले विकासकर्मी
  • वीडियो प्लेबैक की आवश्यकता वाले Flutter प्रोजेक्ट

विचार योग्य बातें

  • iOS केवल – Android पर उपलब्ध नहीं है
  • पूर्ण AirPlay समर्थन के लिए iOS 10+ की आवश्यकता है
  • सीमित वीडियो प्लेबैक – कोई ऑडियो-केवल मोड नहीं
  • बैकग्राउंड प्लेबैक का समर्थन नहीं है
  • AirPlay की उपलब्धता के आधार पर डिवाइस

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

flutter_to_airplay

Flutter plugin that offers two widgets, one to play a video for given url or file path using native AVPlayer and second with an option to airplay it on available Apple devices.

Sponsor/Support

If you like my work, and want to support me so that I can invest more time in improving it, please consider buying me a coffee.

Buy Me A Coffee

Getting Started

This plugin provides two widgets,

1- AirPlayRoutePickerView

Its tintColor, activeTintColor and backgroundColor, can be set to suit the overall theme of application.

AirPlayRoutePickerView(
                tintColor: Colors.white,
                activeTintColor: Colors.white,
                backgroundColor: Colors.transparent,
              )
2- FlutterAVPlayerView

For now it supports either local file added to flutter project, or a video url.

To play a network video for given url:

FlutterAVPlayerView(
              urlString:
                  'https://flutter.github.io/assets-for-api-docs/assets/videos/butterfly.mp4',
            ),

To play a local video added to the flutter project:

child: FlutterAVPlayerView(
              filePath: 'assets/videos/butterfly.mp4',
            ),

Screenshots

Video iPhone Airplay iPhone Video iPad Airplay iPad
iPhoneVideo_Butterfly iPadVideo_Butterfly AirPlayiPhone AirPlayiPad

TODO:

  • [x] Allow videos add to the Flutter project.
  • [ ] Allow videos from more sources, Youtube, etc.

Disclaimers:

  • Please suggest if you want a feature added to this utility
  • Please feel free to add any issues or open PRs, I will be actively looking to add to these utilities.

Credit: Inspired by Package

FlutterAirplayPlugin

श्रेणियाँ

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट