Thank you very much for this part 2 video. This tutorial is very helpful. I've one doubt. You are using songs from the assets folder. But how to get songs from my phone storage?
Para quem não está conseguindo reproduzir na versão 3.2 tente isso. Fix the play. Dentro da função "togglePlayBack", altere a condição "if( playbackState == State.Paused )" para "if (playbackState == State.Ready || playbackState == State.Paused)"
Hi Pradip it's really great tutorial.However,i found out that "seekTo" doesn't works on android. So i can't use slider to seek to a desired position.Whenever i try to do so,the songs restarts from 0:00(start time).
I encountered the same issue. Apparently that is a library error.. so I used the react-native-video Library. It can be used for audio players also. Search for react-native-simple-audio-player for reference
Thanks for Part 2 Video for Track-Player. I got error for using "react-native-track-player@next" command. And also used "npm install react-native-track-player" npm.
hi bro, music player working fine , but seeking function not working for first index(id 1) and last index song (id 3), but seeking function working only second track song ( this issues show only some song). also while click next previous buttons, play pause button jumping(that mean play pause (toggle)changing a mins ). how to solve this issue. onSlidingComplete={async(value) =>{ await TrackPlayer.seekTo(value); }}
I've followed this tutorial but force close. I use this to setup and add the data: await TrackPlayer.setupPlayer({}); await TrackPlayer.add(dataMusic); do you know the solution for this problem, there is no error but immediately force close. Thank you Edit: solved
Amazing like previous one. I really learn a lot from you. But i need help , as i am making the app using react-native-size matters. it scales fine in stimlator and mi phones but another brand phone my app scaling is soo poor all word got increase in size . app looks got very damaged. PLEASE PLEASE HELP ME OUT ! I TRIED MY BEST BUT FAILED TO REZISE THE APP ACCORDING TO THE SCREEN.
/node_modules/react-native/Libraries/Image/AssetSourceResolver.js Module not found: Can't resolve '../Utilities/Platform' in 'D: eactApp\test ode_modules eact-native\Libraries\Image' I've got this error after I imported the library
Hey, that's a great video. So is this the last part of the music app tutorial? I have a suggestion for you did you try web3 integration in react native? They are in great demand and rarely any good videos on that. A complete web3 integration from built-in Ethereum wallet(key management), calling get(view) functions of solidity to send a signed transaction to the smart contract. Status is a good example to refer to. I'm trying to understand the complete environment of DApps the storage aspects of user data(both metadata and big files like images, audios, and videos). A full-fledged tutorial of this can help a lot of beginners who are trying to learn public blockchain, web3 which is mostly frontend development.
On Typescript you have to use this const togglePlayBack = async (PlaybackState: any) => { const currentTrack = await TrackPlayer.getCurrentTrack(); if (currentTrack !== null) { if (PlaybackState !== State.Playing) { await TrackPlayer.play(); } else { await TrackPlayer.pause(); } } }
I just followed both tutorials, awesome work man!
Pradip has done it again!!! kudos bro
how to use the songs which are having in our device and play directly without adding them in asset folder
Thank you very much for this part 2 video. This tutorial is very helpful. I've one doubt. You are using songs from the assets folder. But how to get songs from my phone storage?
Thank you so much man, it's very helpful, keep going
Para quem não está conseguindo reproduzir na versão 3.2 tente isso. Fix the play.
Dentro da função "togglePlayBack", altere a condição "if( playbackState == State.Paused )" para "if (playbackState == State.Ready || playbackState == State.Paused)"
Player works great! Thank you and God bless you!
"Unchaught Error'
cannot read property 'CAPABILITY_PLAY' of null
can you help me please
Because of you i learn alot thank you so much for that sir Love from pakistan ❤️❤️
where we can find the source code of this app...?
You are doing good work. Excellent.
what mic are you using. sound quality is lit
Hello Sir, Does this project involve saving a user-created playlist to a back end database
Can you work with elearning app with chat like udemy ?
u r born to be teacher
Hi Pradip it's really great tutorial.However,i found out that "seekTo" doesn't works on android. So i can't use slider to seek to a desired position.Whenever i try to do so,the songs restarts from 0:00(start time).
I encountered the same issue. Apparently that is a library error.. so I used the react-native-video Library. It can be used for audio players also. Search for react-native-simple-audio-player for reference
use "new Date(progress.position*1000).toISOString().substring(14,19)" instead of substr(14,5)
but if i am using substring method then it is giving me +gmt type time
Amazing, it really helped alot
I'm doing the same in expo-cli using Audio-av but I'm having difficulty adding track in...
I searched it on UA-cam but i didn't find any video like u explain the code
Thanks for Part 2 Video for Track-Player. I got error for using "react-native-track-player@next" command. And also used "npm install react-native-track-player" npm.
where can we find its code
hi bro, music player working fine , but seeking function not working for first index(id 1) and last index song (id 3), but seeking function working only second track song ( this issues show only some song). also while click next previous buttons, play pause button jumping(that mean play pause (toggle)changing a mins ). how to solve this issue.
onSlidingComplete={async(value) =>{
await TrackPlayer.seekTo(value);
}}
I've followed this tutorial but force close. I use this to setup and add the data:
await TrackPlayer.setupPlayer({});
await TrackPlayer.add(dataMusic);
do you know the solution for this problem, there is no error but immediately force close.
Thank you
Edit: solved
bro, me also same issues pls provide solutions
thanks for the tutorial
Hi Just wondering if you've ever had a problem where your android emulator makes a crackle noise when playing audio/video?
please create a tutorial with this using backend as firebase..
Good job, but can you please complete the social network tutorial
Hi bro i just want to know, which react-native version you using and please make a video for react-navigation 6
Awesome Explanation ++++++++++++++++++++++++++ Thank you
how can I solve the notification control in track player.
hey, great video can we play local songs from android in react native?
bro why my app is crashing after importing trackplayer
And what if I want it to access the songs that are inside the mobile?
sir would you mind to make video about showing marker on maps from firebase please or at least you can share any references
I am getting error no task registered what is the exact issue . I am using version of 3.0.0
Amazing like previous one. I really learn a lot from you. But i need help , as i am making the app using react-native-size matters. it scales fine in stimlator and mi phones but another brand phone my app scaling is soo poor all word got increase in size . app looks got very damaged. PLEASE PLEASE HELP ME OUT ! I TRIED MY BEST BUT FAILED TO REZISE THE APP ACCORDING TO THE SCREEN.
Use Estylesheet package, it enables you to write media queries based on screen size
This app can play in background?
/node_modules/react-native/Libraries/Image/AssetSourceResolver.js
Module not found: Can't resolve '../Utilities/Platform' in 'D:
eactApp\test
ode_modules
eact-native\Libraries\Image'
I've got this error after I imported the library
Sir kindly make video on react native snap carousel please
my skip is not working even i am getting changed index on click
when i run it on android emmulator it will produce warning No task registered for key TrackPlayer
hey what about app registry? this can cause all these problems
First View & Comment. Love my comment.
You rock! 🤘
when i type the command pod install , I get this returned: zsh: command not found: pod ... what am i doing wrong?
i navigated to the ios folder before, using cd ios
I think "cocoapod" is not install on your mac. Do a google search for installing it.
that`s great ! but i need the source code .... :(😶
Installing react-native-track-player error on android . Please tutorial Installing react-native-track-player on android
Sir,,, hum expo m ipa file ka size kaise reduce kar sakte h,,, by default size is 220 mb.
anyone please tell me...
Can you share the github code for it please?!
Muito bom, very best!
Thanks for your support.
@@itzpradipIs this code available on github?
Sir after installation of react native track player apps is crashed
me too
Hey, that's a great video. So is this the last part of the music app tutorial? I have a suggestion for you did you try web3 integration in react native? They are in great demand and rarely any good videos on that. A complete web3 integration from built-in Ethereum wallet(key management), calling get(view) functions of solidity to send a signed transaction to the smart contract. Status is a good example to refer to. I'm trying to understand the complete environment of DApps the storage aspects of user data(both metadata and big files like images, audios, and videos). A full-fledged tutorial of this can help a lot of beginners who are trying to learn public blockchain, web3 which is mostly frontend development.
how to play songs from the sd card?
hey , this great video, can you fix error for me ? , pleaseeee
Is this code available on github?
cannot read property 'CAPABILITY_PLAY' of null
did you get the answer ?
bro just remove your headphone or speakers while running your project i did that silly shit and it worked lol wtf xd
download music ?
Add background play functionality.
Also fetch all songs from mobile
Yes, I also need this
Hello, could you help me how to do the play in the background?
Source code ?
what's a Teacher !
@itzpradip bhai project ka github link bhej dijiye bhai
expo?
We need call app please
heeelp!!! warning: No task registered for key TrackPlayer
Разобрался?
@@stephencurry8078 да всё заработало.
Bengali te video banao dada
I told you disapear
On Typescript you have to use this
const togglePlayBack = async (PlaybackState: any) => {
const currentTrack = await TrackPlayer.getCurrentTrack();
if (currentTrack !== null) {
if (PlaybackState !== State.Playing) {
await TrackPlayer.play();
} else {
await TrackPlayer.pause();
}
}
}