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

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 89

  • @3alemneUp
    @3alemneUp ปีที่แล้ว +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 :)

  • @skyisthelimpet
    @skyisthelimpet ปีที่แล้ว +8

    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 TH-camr was like you.

    • @on_living_life
      @on_living_life ปีที่แล้ว +3

      Marcus is 🔥🔥🔥

    • @designtechstuff7751
      @designtechstuff7751 4 หลายเดือนก่อน

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

    • @designtechstuff7751
      @designtechstuff7751 4 หลายเดือนก่อน

      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 ปีที่แล้ว +5

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

  • @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

  • @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! 🙌

  • @UCDAT
    @UCDAT 6 หลายเดือนก่อน

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

  • @burntleaves1178
    @burntleaves1178 ปีที่แล้ว +4

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

  • @so7300
    @so7300 ปีที่แล้ว +6

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

  • @IgweUgochukwu-o3y
    @IgweUgochukwu-o3y 3 หลายเดือนก่อน

    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?

  • @angelicacaso5219
    @angelicacaso5219 หลายเดือนก่อน

    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?

  • @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.

  • @iyasushiferaw7102
    @iyasushiferaw7102 ปีที่แล้ว +1

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

  • @usamahaider7865
    @usamahaider7865 6 หลายเดือนก่อน +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...!

  • @RajA-me9cl
    @RajA-me9cl ปีที่แล้ว

    Clear and concise. Thank You Marcus.

  • @cub3608
    @cub3608 29 วันที่ผ่านมา

    thank you for this marcus

  • @Youtubers_biasa
    @Youtubers_biasa 2 หลายเดือนก่อน

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

  • @falfit.
    @falfit. 7 หลายเดือนก่อน

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

  • @Englishwithodo
    @Englishwithodo 10 หลายเดือนก่อน

    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.

  • @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.

  • @DoremiMali
    @DoremiMali ปีที่แล้ว

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

  • @MrJugi2
    @MrJugi2 ปีที่แล้ว

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

  • @DjBillman
    @DjBillman ปีที่แล้ว

    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

  • @zetreox2247
    @zetreox2247 4 หลายเดือนก่อน +2

    The tutorial worked great apart from i could view media notifications on android, however i managed to fix this by adding with the other permissions in the android manifest file (I assume this is because i am using android 14 and this tutorial was made for android 13)

  • @tulasireddy6557
    @tulasireddy6557 ปีที่แล้ว +3

    Please develop video player app also with offline and online support

  • @shakirali4877
    @shakirali4877 ปีที่แล้ว

    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

  • @neal-047
    @neal-047 ปีที่แล้ว

    Any tutorial on audio_service and just_audio ?

  • @smithkt894
    @smithkt894 ปีที่แล้ว

    Man you are a legend, you deserve more subscribers.

  • @willzembergsilva
    @willzembergsilva ปีที่แล้ว

    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?🙂

  • @AhmadRifai-ey4uo
    @AhmadRifai-ey4uo 4 วันที่ผ่านมา

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

  • @acerlmt
    @acerlmt ปีที่แล้ว

    5:35 Multidex minSdkVersion 21 - Android 5

  • @arkatanukundu_171
    @arkatanukundu_171 3 หลายเดือนก่อน

    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

  • @bassem0708
    @bassem0708 ปีที่แล้ว +1

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

  • @tanjimahmed213
    @tanjimahmed213 ปีที่แล้ว

    You saved my day!!

  • @elwansa9825
    @elwansa9825 ปีที่แล้ว

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

  • @shahidsaif8932
    @shahidsaif8932 ปีที่แล้ว

    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

    • @TusharSTalks
      @TusharSTalks 2 หลายเดือนก่อน

      facing same issue

  • @cyeg12c
    @cyeg12c ปีที่แล้ว

    Great video, Thank you

  • @Youngbalante
    @Youngbalante ปีที่แล้ว

    Merci beaucoup 🙏

  • @igdagusryankurniantara1053
    @igdagusryankurniantara1053 ปีที่แล้ว

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

  • @Alan-jd3mi
    @Alan-jd3mi ปีที่แล้ว

    You are a legend

  • @slartibartfastsmith386
    @slartibartfastsmith386 ปีที่แล้ว

    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

  • @robotcanfly4864
    @robotcanfly4864 ปีที่แล้ว +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

  • @Salmos-qy3kh
    @Salmos-qy3kh 10 หลายเดือนก่อน

    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 8 หลายเดือนก่อน

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

  • @MWStudiooo
    @MWStudiooo ปีที่แล้ว

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

    • @iyasushiferaw7102
      @iyasushiferaw7102 ปีที่แล้ว +2

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

  • @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

  • @tuanngovan7735
    @tuanngovan7735 5 หลายเดือนก่อน

    Great video!!

  • @tanjimahmed213
    @tanjimahmed213 11 หลายเดือนก่อน

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

    • @Englishwithodo
      @Englishwithodo 10 หลายเดือนก่อน

      On physical device they work fine

    • @Salmos-qy3kh
      @Salmos-qy3kh 10 หลายเดือนก่อน

      @@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

  • @SalarPro
    @SalarPro ปีที่แล้ว

    Thank you

  • @KeyurChhayani-h9g
    @KeyurChhayani-h9g 11 หลายเดือนก่อน +2

    plzz share code this files

  • @AsmrProg
    @AsmrProg ปีที่แล้ว

    Hi bro, please can i ask your channel rpm?

  • @lilpux7390
    @lilpux7390 ปีที่แล้ว

    Such a very good things.

  • @almightykodadon
    @almightykodadon ปีที่แล้ว

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

    • @ernestosmr
      @ernestosmr ปีที่แล้ว

      Me too, did you fix this?

  • @erenjaeger555
    @erenjaeger555 7 หลายเดือนก่อน

    not working the music is not playing

  • @S-Lomar
    @S-Lomar 11 หลายเดือนก่อน

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

  • @lilpux7390
    @lilpux7390 ปีที่แล้ว

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

  • @KashifAli-Hollow
    @KashifAli-Hollow ปีที่แล้ว

    Great video

  • @AdhamFaisal875
    @AdhamFaisal875 9 หลายเดือนก่อน

    Make A Sound Recorder In Flutter please save recordes

  • @liker12345ffff
    @liker12345ffff ปีที่แล้ว +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

  • @Dev100-du4tc
    @Dev100-du4tc 2 หลายเดือนก่อน

    Hi Ples.. Give Me A source code Link

  • @trickswithandro749
    @trickswithandro749 ปีที่แล้ว

    Thanksssssssss

  • @lilpux7390
    @lilpux7390 ปีที่แล้ว

    3:38

  • @snickr6377
    @snickr6377 ปีที่แล้ว

    🔥🔥🔥

  • @daudtk441
    @daudtk441 ปีที่แล้ว

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

  • @myheartwentoops2938
    @myheartwentoops2938 ปีที่แล้ว

    1:40

  • @esneiderbertel9813
    @esneiderbertel9813 ปีที่แล้ว

    you could make an app to perform strems or live

  • @larakreisz6764
    @larakreisz6764 ปีที่แล้ว

    Awesome like always 😊😍

  • @robotcanfly4864
    @robotcanfly4864 ปีที่แล้ว +1

    Can share your code?

  • @masoumi-td7fg
    @masoumi-td7fg ปีที่แล้ว

    The best.