Flutter Audio Players and Background Audio (Assets, URLs, & Playlist) | Learn Flutter Fast

Поділитися
Вставка
  • Опубліковано 12 січ 2025

КОМЕНТАРІ • 91

  • @skyisthelimpet
    @skyisthelimpet Рік тому +11

    This is the quality content that i wanted. There is not a single second that is wasted. Thanks for this amazing video. I wish every UA-camr was like you.

    • @on_living_life
      @on_living_life Рік тому +3

      Marcus is 🔥🔥🔥

    • @designtechstuff7751
      @designtechstuff7751 7 місяців тому

      At 3:57 there's an unnecessarily lengthy pause.

    • @designtechstuff7751
      @designtechstuff7751 7 місяців тому

      Just kidding. This guy is a genius and this is the first background tutorial that I've found that actually works after days of frustration. Thanks so much!

  • @MaxChing-qd8uv
    @MaxChing-qd8uv 2 роки тому +5

    Hi Marcus, great tutorial as usual!!! I'm eagerly waiting for your new big courses....

  • @so7300
    @so7300 2 роки тому +6

    Great video, I was just looking for this, incredibly helpful!

  • @djibrilmugisho5874
    @djibrilmugisho5874 Рік тому

    thanks, bro you turned my nightmare into a blessing I spent one week trying to do this and now it took me some minutes to have everything up and running.. once again thank you

  • @burntleaves1178
    @burntleaves1178 2 роки тому +4

    The best flutter tutorials are from Marcus, always learn a lot

  • @MuhammadVaid
    @MuhammadVaid Рік тому +3

    This was such a great tutorial - excellent content and so efficiently delivered!
    It was also exactly what I was looking to achieve.
    Thanks Marcus! 🙌

  • @smithkt894
    @smithkt894 Рік тому

    Man you are a legend, you deserve more subscribers.

  • @3alemneUp
    @3alemneUp 2 роки тому +4

    Hello Marcus, first thank you for these great tutorials. Could you please make 3 videos to explain the following points for beginners:
    1. adding Admob to Flutter (banner, native, reward video).
    2. In app purchase
    3. Flutter Widget lifecycle (Widget state)
    Thank you again :)

  • @UCDAT
    @UCDAT 9 місяців тому

    Marcus a great person not time waster thank you Sir Marcus!
    We remember you!

  • @RajA-me9cl
    @RajA-me9cl Рік тому

    Clear and concise. Thank You Marcus.

  • @cub3608
    @cub3608 3 місяці тому

    thank you for this marcus

  • @Alan-jd3mi
    @Alan-jd3mi Рік тому

    You are a legend

  • @tuanngovan7735
    @tuanngovan7735 8 місяців тому

    Great video!!

  • @daily_blog_9
    @daily_blog_9 2 місяці тому

    Love you💓💓💓
    Thanks

  • @tanjimahmed213
    @tanjimahmed213 Рік тому

    You saved my day!!

  • @IgweUgochukwu-o3y
    @IgweUgochukwu-o3y 6 місяців тому

    Thanks Marcus for your time. But please what about if I want to make use of the just_audio_cache such that I am able to cache audio url web links and play audios from the cache memory? How should I go about it?

  • @iyasushiferaw7102
    @iyasushiferaw7102 2 роки тому +1

    Hey Marcus, Any tips on how to keep the audio playing when we navigate away from the current screen?

  • @cyeg12c
    @cyeg12c Рік тому

    Great video, Thank you

  • @Salmos-qy3kh
    @Salmos-qy3kh Рік тому

    Hello everybody, I'm trying to follow the video but I have an error in minute 2:23, the error say, "invalid constant value" when I'm trying to send _audioPlayer parameter to Controls ... any idea? .. thanks

    • @philjacks8531
      @philjacks8531 11 місяців тому

      I had this issue. I was declaring the parent 'Column' with a const. I removed the const keyword & it fixed

  • @vistauz
    @vistauz Рік тому

    Hello. What a great tutorial. And now what about adding the list of playlist screen. When any music clicked it should open the page of music and begins playing. AND ALSO, what about adding a functionality to save played songs to cache. And when it is loaded fully, saving the cache as music to a custom folder from user's storage or in android data folder?
    I mean audio starts downloading when it begins to play audio. Or also we may add a button to download or remove. It shows download icon when music is not downloaded. And it will become delete icon when it the music has finished caching/downloading fully. Also, we may add a dialog to confirm download/removal of music when the button is clicked.
    Can you show how to do that in the next video? Please, this really need to me.

  • @usamahaider7865
    @usamahaider7865 9 місяців тому +1

    sir can we in PageView images with background audio when scroll then change audio and img
    it can possiable please make an video upon it...!

  • @angelicacaso5219
    @angelicacaso5219 4 місяці тому

    Hi!! I would like some technical information: I am looking for an mp3 player with a display that shows the song titles, but I need it to not start the next song when the song being played ends, that is, it pauses and I have to start it myself. I have tried some players, but they do not have this function, they have continuous playback. Can you help me?

  • @acerlmt
    @acerlmt Рік тому

    5:35 Multidex minSdkVersion 21 - Android 5

  • @kuroodo_
    @kuroodo_ Рік тому

    I'm trying to using the record package with the just_sound package, as well as just_sound_windows. When I use record to record audio and encode it using aacLc, just_sound has a media error without any information. The only encoder I find that works for all platforms and the just_sound package is opus. But for my use case I don't want to use opus. Do you have any suggestions, or perhaps a better recording package? I'm trying to build an application that runs on android, iOS, web, Windows, macOS, and if possible Linux.

  • @falfit.
    @falfit. 9 місяців тому

    Is it possible to customize the notification UI / lock screen UI?

  • @DjBillman
    @DjBillman 2 роки тому

    Hi, I have a question. I have a Radio App template where I'm streaming audio from shoutcast. The app only displays the name of the radio and a description from a database on my hosting. I would like to add the artist and song title streaming from the shoutcast stream into the current player I have. Would you have an advice on how I could do this. Thanks

  • @lilpux7390
    @lilpux7390 Рік тому

    Such a very good things.

  • @neal-047
    @neal-047 Рік тому

    Any tutorial on audio_service and just_audio ?

  • @Kdndbshjnskks
    @Kdndbshjnskks 5 місяців тому

    how to set onclick navigation audio service in flutter, maybe navigate to SongPlayer

  • @tulasireddy6557
    @tulasireddy6557 2 роки тому +3

    Please develop video player app also with offline and online support

  • @MrJugi2
    @MrJugi2 Рік тому

    how do you handle the state of your play icon when another player plays music

  • @KashifAli-Hollow
    @KashifAli-Hollow 2 роки тому

    Great video

  • @DoremiMali
    @DoremiMali Рік тому

    Hi, can you make a tutorial for creating an audio playlist with rootbundle assets/audio. Please

  • @Youngbalante
    @Youngbalante Рік тому

    Merci beaucoup 🙏

  • @tushar351
    @tushar351 Місяць тому

    One question
    Can we do this with Fcm in background.....

  • @shakirali4877
    @shakirali4877 2 роки тому

    Hello Sir, Thank you for your great tutorial, i followed you and its working... i have a list view with json data and i want to play each audio when i clicked at each index item ... could you please help me how to do this using just audio and background player package... thank you

  • @bassem0708
    @bassem0708 2 роки тому +1

    Hei, can you please make the same app but get the songs from firebase?

  • @willzembergsilva
    @willzembergsilva 2 роки тому

    Hello Marcus, congratulations for the video and the tutorial. I would like to implement it in my project. How can I see this project and where? Do I pay something?🙂

  • @arkatanukundu_171
    @arkatanukundu_171 6 місяців тому

    I am trying to use Firebase as database for audio files along with this... but adding firebase initialize in main along with just_audio background initialize doesnt work. If anybody knows how to solve this plz help

  • @elwansa9825
    @elwansa9825 2 роки тому

    Exusme sir, simple budget tutorial barHeight goes to right direction not to top dirctions. How to fix it?

  • @shahidsaif8932
    @shahidsaif8932 2 роки тому

    Hello,
    Great video I am having an issue where the thumb and progress are not updating as the video gets played. Anyone have a fix?
    Thanks

  • @almightykodadon
    @almightykodadon 2 роки тому

    I keep getting Exception has occurred PlayerException (0) source error) it’s right at the await _audioPlayer.setAudioSource(_playlist);

  • @slartibartfastsmith386
    @slartibartfastsmith386 2 роки тому

    Hi Marcus -- What's the process to get access to Launch Club, I've subscribed, confirmed subscription but nothing seems to change -- hitting Get Access button just repeats the process -- There is no option in Login to create an account

  • @MWStudiooo
    @MWStudiooo 2 роки тому

    Can you please make a music player playing local songs from device?

    • @iyasushiferaw7102
      @iyasushiferaw7102 2 роки тому +2

      you can use the path_provider package to get the directory where the audio is stored and pass it as an audio source.

  • @S-Lomar
    @S-Lomar Рік тому

    Thanks for sharing ❤️💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕

  • @larakreisz6764
    @larakreisz6764 2 роки тому

    Awesome like always 😊😍

  • @bambanx
    @bambanx Рік тому

    thanks do you have the code in github?

  • @bluemedian1012
    @bluemedian1012 Рік тому

    but how to show it in a list so that i can pick a song insteads of going thru all the song

  • @igdagusryankurniantara1053
    @igdagusryankurniantara1053 Рік тому

    is it the background audio stoped when the app is close ? how to stop the audio background man ?

  • @KeyurChhayani-h9g
    @KeyurChhayani-h9g Рік тому +2

    plzz share code this files

  • @tanjimahmed213
    @tanjimahmed213 Рік тому

    Everything working fine but, controls panel buttons are grayed out. Like play pouse button on cotrol panel. they're not visible.

    • @Englishwithodo
      @Englishwithodo Рік тому

      On physical device they work fine

    • @Salmos-qy3kh
      @Salmos-qy3kh Рік тому

      @@Englishwithodo hi... I'm trying to follow the video but I have an error in minute 2:23, the error say, "invalid constant value" when I'm trying to send _audioPlayer parameter to Controls ... any idea? .. thanks

  • @Englishwithodo
    @Englishwithodo Рік тому

    Nice tutorial. I tried to do the same but there aren't buttons in background for ios. For Android they work. What I am doing wrong?
    Update: I found out that the buttons in Simulator is invisible but they are working fine on a real device.

  • @SalarPro
    @SalarPro Рік тому

    Thank you

  • @lilpux7390
    @lilpux7390 Рік тому

    5:04 เล่นใน Background Audio lock screen

  • @AsmrProg
    @AsmrProg 2 роки тому

    Hi bro, please can i ask your channel rpm?

  • @tushar351
    @tushar351 Місяць тому

    Can we make the tech comment section as question answer community instead of appreciation good job best tutor message... Show your appreciation by learn new things... Like the video...
    Use comment section as stack overflow.
    Extend its working
    Solve problems
    Give updates

  • @AhmadRifai-ey4uo
    @AhmadRifai-ey4uo 2 місяці тому

    Pleease, can you share code... nice tutorial but i'm beginner in flutter (andorid programming)

  • @erenjaeger555
    @erenjaeger555 10 місяців тому

    not working the music is not playing

  • @lilpux7390
    @lilpux7390 Рік тому

    3:38

  • @liker12345ffff
    @liker12345ffff 2 роки тому +1

    Pls source.

  • @zend969
    @zend969 Рік тому

    what is MEDIAITEM ???

    • @zend969
      @zend969 Рік тому

      i finally got it .. here at 3:44 thanks a lot for the great video very helpful

  • @AdhamFaisal875
    @AdhamFaisal875 Рік тому

    Make A Sound Recorder In Flutter please save recordes

  • @myheartwentoops2938
    @myheartwentoops2938 Рік тому

    1:40

  • @trickswithandro749
    @trickswithandro749 Рік тому

    Thanksssssssss

  • @Dev100-du4tc
    @Dev100-du4tc 5 місяців тому

    Hi Ples.. Give Me A source code Link

  • @Ibwteams
    @Ibwteams 2 роки тому

    Big fun yourr how to get this source code there is no this file in GitHub ???

  • @snickr6377
    @snickr6377 2 роки тому

    🔥🔥🔥

  • @robotcanfly4864
    @robotcanfly4864 2 роки тому +6

    [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'MediaItem' in type cast

    • @Basile-hv9wq
      @Basile-hv9wq Рік тому

      @@Athavands4 Yeah so we just have to create a new class of MediaItem and set the sond id , title, artist, image src (artUri) to each songs, right?
      Répondre

  • @masoumi-td7fg
    @masoumi-td7fg Рік тому

    The best.

  • @esneiderbertel9813
    @esneiderbertel9813 Рік тому

    you could make an app to perform strems or live

  • @robotcanfly4864
    @robotcanfly4864 2 роки тому +1

    Can share your code?