Flutter Tutorial - Video Player Implementation

preview_player
Показать описание
📄Playing videos is a common task in app development, and Flutter apps are no exception. To play videos, the Flutter team provides the video_player plugin. You can use the video_player plugin to play videos stored on the file system, as an asset, or from the internet.

🌐 Telegram Community

⚡ SUBSCRIBE HERE⚡

🌐 Social Media

⏳ TIMESTAMPS :
00:00 Intro
00:24 Add Package
01:06 Add Video To Asset
01:40 Create Video Player Widget
01:56 Define Video Player Controller
02:19 Video Player Initialization
02:40 Display Video
04:03 Play & Pause Buttons Implementation
05:08 Fast Forward Button Implementation
06:18 Display Video Using URL

#flutter #fluttertutorial #fluttercourse #flutterwidgets
Рекомендации по теме
Комментарии
Автор

I dont know why ts not wokring in my project

susantkumar
Автор

Hello, sir. I'm following your steps, but I've encountered some issues. The video is invisible, but the sound is working fine. This happens regardless of whether I'm using my own phone or an Android emulator.

alliankazi
Автор

hello, me too Unhandled Exception: PlatformException(VideoError, Failed to load video: Operation Stopped, null, null)

I am getting the error but I couldn't find the solution. Have you encountered such an error?

huseyintelli
Автор

Dont work for me :(
asset dont work, but url is ok.

Unhandled Exception: PlatformException(VideoError, Video player had error Source error, null, null)

konvan