Building a Spotify Music Player w/ Real-Time Lyrics using Flutter

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • In this video, I'll walk you through the step-by-step process of creating a sleek and functional Spotify-style music player with Flutter. But that's not all - we're taking it a step further by integrating the Spotify API to fetch your favourite music data, and even synchronising real-time lyrics as your music plays!
    ☕ Buy Me a Coffee: If you found this tutorial helpful and want to support more content like this, consider buying me a coffee. Your support helps me create more in-depth tutorials and resources for the developer community. www.buymeacoffee.com/yash.makan
    Here's what you can expect in this tutorial:
    🎵 Designing a Stylish Music Player UI: I'll guide you in building an eye-catching and user-friendly music player interface using Flutter's amazing capabilities.
    📦 Integrating the Spotify API: Learn how to harness the power of the Spotify API to retrieve track information, album art, and more, so you can jam to your favourite tunes.
    🎶 Playing Music Seamlessly: I'll demonstrate how to implement audio playback functionality to enjoy your chosen songs within the app.
    📝 Real-Time Lyrics: Get ready to be amazed as we synchronise lyrics in real-time with the music. No more missing a beat or a lyric line!
    Don't forget to like, share, and subscribe to our channel for more exciting Flutter tutorials, and hit the notification bell so you won't miss any future content. Let's dive into the world of Flutter and create a stunning Spotify music player with real-time lyrics!
    If you have any questions or need help along the way, feel free to leave a comment, and I'll be there to assist you.
    🔗 GitHub Repository: github.com/YashMakan/mobile_m...
    Business Email: yashmakan.work@gmail.com
    About Me
    I'm Yash Makan, a 19-year-old enthusiast hailing from Bangalore, India. My passion lies in crafting innovative creations and exploring the realm of technology. On this channel, you'll uncover a treasure trove of captivating ventures and captivating content spanning Flutter, Python, and the broader technological landscape. Beyond my role as a TH-camr, I extend my expertise as a freelancer, tech blogger, and educator. Join me on this exciting journey of discovery and empowerment!
    📌 Timestamps:
    0:00 - demo
    0:45 - intro
    1:38 - UI Design
    26:02 - Playing Music Logic
    40:37 - Adding Scrollable Lyrics
    #YashMakan #flutter #mobileappdevelopment
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @user-ow6fv7ry9h
    @user-ow6fv7ry9h 19 วันที่ผ่านมา

    Yash bhai this project is going to help me in my placements a lot thank you for teaching me about this project i am greatful for this, and expecting more such content from you Thanks💝

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

    its soo gud 😭. i had made the part of playing audio from search but didnt know what to do next, and then found tis video. thanks ♥

  • @amitmasram1441
    @amitmasram1441 9 หลายเดือนก่อน +1

    Absolutely amazing

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

      Thanks 😊

  • @shamshushaash5251
    @shamshushaash5251 9 หลายเดือนก่อน +1

    Hii yash bro , hope you remember me , by the way nice video my friend , keep going , we have full support for you

    • @YashMakan
      @YashMakan  9 หลายเดือนก่อน +2

      Hii shamshu, yes I remember you ofcourse and thanks so much 😊

  • @abhaykevat3997
    @abhaykevat3997 28 วันที่ผ่านมา

    how can be make it song change by spotify api

  • @ziya.5788
    @ziya.5788 หลายเดือนก่อน

    Omg!

  • @tancuregaming4149
    @tancuregaming4149 9 หลายเดือนก่อน +1

    How to make a video play like TH-cam?

  • @GaganAgarwal-xt5bo
    @GaganAgarwal-xt5bo 7 หลายเดือนก่อน

    but overall that was good

  • @ashishjakhariya1523
    @ashishjakhariya1523 9 หลายเดือนก่อน +1

    Hello
    Looking for this same app
    Just that if we can create our own lyrics api in appwrite
    It would be very helpful

    • @YashMakan
      @YashMakan  9 หลายเดือนก่อน +2

      Hii, I hope you enjoyed the video and was informative. Please subscribe to the channel as well as I try to upload content like this. Creating a lyrics API is not that difficult you can create the database in appwrite and store the lyrics json there with the musicId. if you need I can create a video on that as well. Anyways thanks for watching!

    • @ashishjakhariya1523
      @ashishjakhariya1523 9 หลายเดือนก่อน +1

      @@YashMakan yes
      1 detailed video will be very helpful
      Searching from years to create on appwrite
      But not yet successful...

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

      ​@@YashMakan yes, your video awesome please create a video on that as well for lyric Api in appwrite

  • @tancuregaming4149
    @tancuregaming4149 9 หลายเดือนก่อน +1

    Hiii bro

  • @tancuregaming4149
    @tancuregaming4149 9 หลายเดือนก่อน +1

    Like in TH-cam first white seekbar will be there and then video plays after some white seek bar appears

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

      There are TH-cam player packages in pub dev that you can use to easily integrate the player in app

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

      @@YashMakan suggest one please

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

      @@tancuregaming4149 sure, you can try this pub.dev/packages/youtube_player_flutter. Also, subscribe the channel if you enjoyed the content. I'll try to make a video covering the TH-cam player as well in coming videos.

    • @Rm-qz1ro
      @Rm-qz1ro 6 หลายเดือนก่อน

      @@YashMakan But this plug-in doesn’t seem to support background playback

  • @AdamaDEMBELE-q6v
    @AdamaDEMBELE-q6v 18 วันที่ผ่านมา

    [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: (-11828) Cannot Open
    #0 AudioPlayer._load (package:just_audio/just_audio.dart:875:9)
    #1 AudioPlayer._setPlatformActive.setPlatform (package:just_audio/just_audio.dart:1501:28)
    ios

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

    This offline

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

      Hi, thanks for watching! The logic can be used offline but no api is used to fetch the lyrics and fetching music info also requires internet.

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

    You're making a video on Spotify.... But you're using Spotify api only to get a track name and then you do the rest with TH-cam? This is some hack way around it and doesn't really show how to use Spotify api at all.

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

      Spotify api doesn't provide audio or lyrics . That's why using yt and other api for lyrics.

    • @YashMakan
      @YashMakan  หลายเดือนก่อน +1

      @@vision6568 exactly! Hope you guys enjoyed the video...

  • @adityasrivastava303
    @adityasrivastava303 23 วันที่ผ่านมา

    bro wtf did you made we couldn't change the music, not even
    fully functional how could you name that as spotify clone huh?

  • @tancuregaming4149
    @tancuregaming4149 9 หลายเดือนก่อน +1

    Hiii bro

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

      Hii 👋🏻 thanks for watching the video 😊