सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
फ्लटर और डार्ट के साथ बनाया गया एक बहुप्लेटफॉर्म, मिनिमलिस्ट वीडियो व्यूअर, जो एंड्रॉइड और आईओएस पर एक निरंतर और दृश्य रूप से आकर्षक उपयोगकर्ता अनुभव के लिए डिज़ाइन किया गया है। इसमें मूल चलाने नियंत्रण और चिकनी प्रदर्शन के साथ एक साफ इंटरफेस है, जो सरल लेकिन शानदार वीडियो प्लेबैक के लिए बहुत उपयुक्त है जिसमें भारी ओवरहेड नहीं है। यह पैकेज हल्का है और उपयोगिता पर ध्यान केंद्रित है, जिससे यह सरलता और स्थिरता के महत्वपूर्ण मीडिया-समृद्ध एप्लिकेशन के लिए उपयुक्त है।
उपयोग
मोबाइल ऐप्स में सरल वीडियो प्ले बैक
शैक्षिक सामग्री में वीडियो सम्मिलित करना
ऐप्स में प्रचार वीडियो दिखाएं
वीडियो ट्यूटोरियल को एकीकृत करना
स्ट्रीमिंग शॉर्ट-फॉर्म वीडियो कंटेंट
मुख्य विशेषताएँ
न्यूनतम और साफ उपयोगकर्ता इंटरफेस
क्रॉस-प्लेटफॉर्म समर्थन (Android और iOS)
सुचारू प्रस्तुति कार्यक्षमता
हल्का और एकीकरण में आसान
एम्बेडेड गेस्चर कंट्रोल
इनके लिए उपयुक्त
बिना फ्रिल्ल्स वीडियो प्लेयर चाहने वाले डेवलपर्स
न्यूनतम डिज़ाइन आवश्यकताओं वाले ऐप्स
उपयोगकर्ता अनुभव प्राथमिकता वाले प्रोजेक्ट
शैक्षिक या प्रशिक्षण-आधारित एप्लिकेशन
मोबाइल-प्रथम वीडियो सामग्री डिलीवरी
विचार योग्य बातें
सीमित कस्टमाइजेशन विकल्प
उपयोगकर्ता उन्नत विशेषताएँ जैसे उपशीर्षक या अध्याय नहीं हैं
वीडियो URL के लिए बाहरी स्रोत पर निर्भर है
जटिल वीडियो वर्कफ़्लो के लिए उपयुक्त नहीं
संगत वीडियो प्रारूप की आवश्यकता है
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
High-Quality Video Demo: https://user-images.githubusercontent.com/65832922/125377927-acb7b780-e342-11eb-950d-b80707e96341.mp4
INSTALLATION
Android
Add android.permission.INTERNET and usesCleartextTraffic in your Android Manifest file, located in <project_root>/android/app/src/main/AndroidManifest.xml
classWebVTTSubtitleVideoExampleextendsStatelessWidget{
constWebVTTSubtitleVideoExample({Key key}) : super(key: key);
@overrideWidgetbuild(BuildContext context) {
returnVideoViewer(
source: {
"WebVTT Caption": VideoSource(
video: VideoPlayerController.network(
//This video has a problem when end"https://www.speechpad.com/proxy/get/marketing/samples/standard-captions-example.mp4",
),
subtitle: {
"English": VideoViewerSubtitle.network(
"https://felipemurguia.com/assets/txt/WEBVTT_English.txt",
),
"Spanish": VideoViewerSubtitle.network(
"https://felipemurguia.com/assets/txt/WEBVTT_Spanish.txt",
),
},
)
},
);
}
}
Network Video with SubRip Subtitles
classSubRipSubtitleVideoExampleextendsStatelessWidget{
constSubRipSubtitleVideoExample({Key key}) : super(key: key);
@overrideWidgetbuild(BuildContext context) {
finalString content = '''
1
00:00:03,400 --> 00:00:06,177
In this lesson, we're going to
be talking about finance. And
2
00:00:06,177 --> 00:00:10,009
one of the most important aspects
of finance is interest.
3
00:00:10,009 --> 00:00:13,655
When I go to a bank or some
other lending institution
4
00:00:13,655 --> 00:00:17,720
to borrow money, the bank is happy
to give me that money. But then I'm
5
00:00:17,900 --> 00:00:21,480
going to be paying the bank for the
privilege of using their money. And that
6
00:00:21,660 --> 00:00:26,440
amount of money that I pay the bank is
called interest. Likewise, if I put money
7
00:00:26,620 --> 00:00:31,220
in a savings account or I purchase a
certificate of deposit, the bank just
8
00:00:31,300 --> 00:00:35,800
doesn't put my money in a little box
and leave it there until later. They take
9
00:00:35,800 --> 00:00:40,822
my money and lend it to someone
else. So they are using my money.
10
00:00:40,822 --> 00:00:44,400
The bank has to pay me for the privilege
of using my money.
11
00:00:44,400 --> 00:00:48,700
Now what makes banks
profitable is the rate
12
00:00:48,700 --> 00:00:53,330
that they charge people to use the bank's
money is higher than the rate that they
13
00:00:53,510 --> 00:01:00,720
pay people like me to use my money. The
amount of interest that a person pays or
14
00:01:00,800 --> 00:01:06,640
earns is dependent on three things. It's
dependent on how much money is involved.
15
00:01:06,820 --> 00:01:11,300
It's dependent upon the rate of interest
being paid or the rate of interest being
16
00:01:11,480 --> 00:01:17,898
charged. And it's also dependent upon
how much time is involved. If I have
17
00:01:17,898 --> 00:01:22,730
a loan and I want to decrease the amount
of interest that I'm going to pay, then
18
00:01:22,800 --> 00:01:28,040
I'm either going to have to decrease how
much money I borrow, I'm going to have
19
00:01:28,220 --> 00:01:32,420
to borrow the money over a shorter period
of time, or I'm going to have to find a
20
00:01:32,600 --> 00:01:37,279
lending institution that charges a lower
interest rate. On the other hand, if I
21
00:01:37,279 --> 00:01:41,480
want to earn more interest on my
investment, I'm going to have to invest
22
00:01:41,480 --> 00:01:46,860
more money, leave the money in the
account for a longer period of time, or
23
00:01:46,860 --> 00:01:49,970
find an institution that will pay
me a higher interest rate.
''';
returnVideoViewer(
source: {
"SubRip Caption": VideoSource(
video: VideoPlayerController.network(
"https://www.speechpad.com/proxy/get/marketing/samples/standard-captions-example.mp4"),
subtitle: {
"English": VideoViewerSubtitle.content(
content,
type: SubtitleType.srt,
),
},
)
},
);
}
}