Flutter Tutorial - Video Player - Asset, File & Network

Flutter Tutorial - Video Player - Asset, File & Network

HeyFlutter․com

3 года назад

75,557 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Vijay Panday
Vijay Panday - 29.09.2023 14:47

Is there a way to add srt file from a webadress?

Ответить
Saad EL
Saad EL - 23.08.2023 23:51

you are the best <3

Ответить
Pranav Variar
Pranav Variar - 07.08.2023 13:00

Videos does not play in android while you are on a phone call , even if we press play. How to solve this issue?

Ответить
v2 - Game Dev
v2 - Game Dev - 12.05.2023 18:32

this channel is a freakin gold mine!

Ответить
perplexed you
perplexed you - 16.04.2023 10:15

i cant extract the zip file you have uploaded on the github?? why

Ответить
Tushar Shah
Tushar Shah - 20.03.2023 17:15

hello im creating a app using video player and im using seekTo to skip videos but my method of seekTo doesnt work for videos over 720p, video is playing from start again, How can i solve this issue.
im using videos from gallery and playing them.

Ответить
ali qadomy
ali qadomy - 08.01.2023 16:24

this for only .mp4 i can't play yhoutube video

Ответить
Designguide.tv
Designguide.tv - 05.01.2023 02:03

uh oh, this code doesnt really seem to work anymore. Mainly because of the null rules?

Ответить
Bitcoin Cafe
Bitcoin Cafe - 18.11.2022 19:48

Good work!

Ответить
محترف Mohtarif
محترف Mohtarif - 01.10.2022 00:59

best

Ответить
Salih Mohammad
Salih Mohammad - 22.09.2022 08:04

Thanks 😊

Ответить
Joseph Kamande
Joseph Kamande - 17.09.2022 10:58

What if you want to play multiple videos?? How will you initialize them?

Ответить
Trinh Nguyen Huong Kieu (FGW HCM)
Trinh Nguyen Huong Kieu (FGW HCM) - 04.09.2022 20:34

Hi have a problem like this : FlutterError (No Material widget found.
IconButton widgets require a Material widget ancestor.
In Material Design, most widgets are conceptually "printed" on a sheet of material. In Flutter's material library, that material is represented by the Material widget. It is the Material widget that renders ink splashes, for instance. Because of this, many material library widgets require that there be a Material widget in the tree above them.
To introduce a Material widget, you can either directly include one, or use a widget that contains Material itself, such as a Card, Dialog, Drawer, or Scaffold.
The specific widget that could not find a Material ancestor was:
IconButton

Are u have any idea, many thanks <3 <3 <3

Ответить
khubaib irfan
khubaib irfan - 09.08.2022 16:20

Sir?

Ответить
khubaib irfan
khubaib irfan - 09.08.2022 04:16

video loaded through network
PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null).this is a error

Ответить
Be Why ?
Be Why ? - 06.07.2022 16:28

how are you my friend
I face an issue when I put my video in the assent folder the flutter unable to read the format mp4 so he is asking me to choose an other prefix like .img or .txt ..etc how can I download the mp4 format to my sdk so the android studio will be able to read this kind of files
thanks

Ответить
Ahmed taha
Ahmed taha - 03.07.2022 21:35

Do you know, my friend, if I want to make an application to upload videos, this application using flutter, please help me

Ответить
Priyanka Das
Priyanka Das - 22.06.2022 14:40

thank you so much.. but following the same ..videos are not running. getting error Error: PlatformException(MEDIA_ERR_SRC_NOT_SUPPORTED, MEDIA_ELEMENT_ERROR: Format error, The video has been found to be unsuitable (missing or in a format not supported by your browser)., null),, only circularprogressindigator is getting displayed. plz help me to understand why video is not initialized.....

Ответить
Andrew Davies
Andrew Davies - 21.06.2022 18:14

Hi thanks for the tutorial. It is very helpful. Sometimes though I get the error: Unsupported profile 4 for video/mp4v-es when playing a network asset. Othertimes the videos works. Any idea why that happens?

Ответить