I want to play a video in backg mode in flutter. actually i want to play video even my phone is locked ,i know exo play can play a video in background service.
but I dont know how ply a video in background service
can help me ?
Related
So, I have been trying to make an audio player app, which will play some music tunes. But if there is something that's already being played in background, then it should duck its audio and allow my app to play its tunes. Is this possible in flutter? I m using audioplayers plugin for playing audio. I have also tried using audio_session plugin. It works to some extent. Like when I m playing music in background, I open my demo app and press play button to play my music tunes, then the background music pauses and my app plays the tune. But after its completion, the music doesn't resumes. Is there any other plugin that i should try ?
I have an app that plays videos using the video_player package. These videos have sound, but I don't want to play it. To achieve this, I use:
controller.setVolume(0.0)
The problem is whenever I open the app, even before playing a video, any background music stops.
I figure there must be a way to say "this app does not have sound capability" and then the OS won't pause any background music.
Is there a flutter specific way to do this, or should I look for iOS and Android specific solutions?
Thanks!
Exoplayer stop video when screen off,
I need to playing video when screen off. Is this possible in android exoplayer?
I have to make an android program which can play video according to a planning. while player runs, when it comes to a specific moment i want to play another video from URL. second video is an ads clip. after ads clip finishes, main video should continue. Is it possible? Is there any media player on android market which I can configure or I shall develop one matching my needs? What steps should I make?
I have one big question: "How do you let videos play in your app while going to other apps?"
I saw Act 1 Video Player do it but how do you do it?