@@dbestech hey man. I am facing a problem with the audioplayers. :audioplayers:compileDebugKotlin How can I fix this man? Your help would mean world for me.
Buddy, everything worked out. It's all great! Thanks again. Just one thing. The links to the tracks that you suggest in books.json were causing an error. I replaced them, and now everything works perfectly. Now I know how to write audioplayer.
tnx very much for your great educational video, 2 Question: 1: how can we play from asset(local) instead of URL? 2: during the playing, time step and Slider does not word ( do not go forward automatically)
So, I don't want the Audioplayer to stop when i leave the detail_audio_page, I want the Audio to play in the background. When i go back to home and press on another book, the new Audio will overlap the currently playing audio. So how do I stop the Audio from playing when i press on another Book in the list? I think i might have to call the audioplayer in the home view, but I don't know how. Can you help me?
Playing the audio player in the background is pretty easy. Just don't stop the audio instance. Regarding other part, Your current logic is ok. Yes you have to create global instance of audio player from home view. But it's a bit more difficult process. It involves managing state variable globally. We might need to use bloc or getx to do that. Other way, is to create an audio instance with id which is described here pub.dev/packages/audioplayers in this link. Go at the bottom.
this.widget.advancedPlayer.onAudioPositionChanged.listen((p) is depricated, how should I replace it? same as setUrl(path) is not defined for this audioplayer, how can I repair the errors? Help - thanks
Hey. This is EXACTLY what im looking for. Im trying to create an app like this for my girlfriend. The thing is that i want to add my own mp3s instead of from a server. How do i do that? + how do i program that when you stop it plays again at the same spot you hit stop? :)
Thanks a lot for the tutorial. I got an issue. I cannot pass the audio path unless I add source(path), and I still cannot play the audio. How do we play local audios please? Thanks again!
Hello sir I am very thankful to u...u have explained so nicely ....I have just one question I successfully played audio from internet on chrome...but I unable to play it on andriod
hiya, today I learned flutter by following your tutorial which is fantastic. And did you say that you are in China? which city are you in exactly. BTW, I am in ShenZhen.
Firstly, I must thank you for putting in such a great effort for all of us to understand the flutter concepts. One question: how can I show a circular loading icon when the audio is buffering, is there an event to know if the audio is in buffering state?
Man ur teaching really good and your the best but how can I make it login with saving playlist and running the song notification as well as making it friendly with the dynamic island of iphone 14 and so on how can I make those or at least can you make a course for it?
A/s Sir, can you please make a complete tutorial for mx player or similar video player with Full control of zoom and other, I looked in hole TH-cam and Git but couldn't find. You are my last hope.
hi brother thank u so much for this tutorial , but i have small problem when I test the app in real ios device the audio paly throw call speaker not the main speaker :( , is there any way to make it use the main speaker ?
hello friend is an excellent video, my congratulations. but I have a doubt: at the end of the audio it puts an error screen with this message " Failed assertion: line 165 pos 15: 'value >= min && value
Can you let us know, how we can display a Text at specific time of the audio? I am trying show some texts as a summary of an audio which is playing. I need to display at the very specific time of audio, some texts. Can you please give me clue about this ? Thanks
1. get the current duration 2. check it matches your expected duration 3. display the text text CODE (put each code at appropriate postion) bool isTextshow false; if (_position.inSeconds == 60) { setState(() { isTextshow = true; }); } isTextShow ? Text("Some text to show") : Container();
Sir how can i achieve this "When i quit the app and come back later ,the music player should play from the last place where it had stopped" (similar to udemy video functionality ).i have mailed you as well sir.Hope your answer will help us
For now it does. But you can follow the link below to stop it when the minimize the app. stackoverflow.com/questions/61678052/flutter-music-plays-after-closing-application but it needs some restructure of the app though.
He'll teacher I have a problem when I try play music by play() in new update i cannot get setUrl() you can get setSourceUrl and than when you try play Music it Say String can not assigned the parameter typ SOURCE plz help me I am taird to solov problem
@@dbestech thanks Teacher for Replay 💞Yes I use New Version Do you Know I solve the problem by other way I make ne var d = this.widget.audioPath Than make Source x = UrlSource(d) Than play(x);
I'm looking at tutorials to create music playlists and I basically want to know, is this something that can be put on the Play Store or are there legalities to be concerned about with royalties? Being that it's from a url, I'm not sure how that would be worked out.
man your intro music volume is too loud and your mic volumes is too low, it makes me really uncomfortable to watch, next time please make the music on your intro and your mic voice as always at the same lavel through out entire video
@@dbestech iam search lot about it . There is only chatting part showing in all videos but voice and video calling not showing . Please take a look on calling option
now, you need to create an empty space there at the top and once you select, save it in a list, and then use setState() function to save in the list. read the list in the empty space.
yes. you can do it. but then you need to initialize all the audios in a loop and save the duration. Instead of initializing one, you need to initialize all the audios. then after saving the value you need to close or dispose them. and use the audios later when you need again.
Sir i ran into the pod problem again...i installed ruby and pods and set the path...now if i do pod install only in the terminal,pods are installed but if i try to build the application it says error running pod install..an error ooccured while running the post install hook(same as before-when i have tried the video player app..but this time the paths donot appear in red ) And it shows error on continue in this line..: continue if xcframework_file.start_with?(".") # Hidden fine possibly on external disk.. can u give tip sir?..i am very fed up.
@@angelkarki2963 question, can you create other simple projects using pod? Is so let me know. If not, then it’s your total setting problems of the device environment
@@dbestech i don't know sir..i have tried both audio and video player..and i failed..if you can please kindly tell me what should i learn to debug this..
when I click the button the song did not play ! why there are a lot of messages I can't understand them as E/flutter ( 6939): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7) E/flutter ( 6939): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:18) E/flutter ( 6939): E/flutter ( 6939): #2 AudioPlayer._invokeMethod (package:audioplayers/src/audioplayer.dart:149:20) E/flutter ( 6939): E/flutter ( 6939): #3 AudioPlayer.play (package:audioplayers/src/audioplayer.dart:171:20) E/flutter ( 6939): E/flutter ( 6939): W/MediaPlayer-JNI( 6939): MediaPlayer finalized without being released
man I just watched 15 mins of the video and I am already in love the way you teach. what a blessing you are. thank you
Wow, thank you!
@@dbestech hey man. I am facing a problem with the audioplayers.
:audioplayers:compileDebugKotlin
How can I fix this man? Your help would mean world for me.
@@dbestech Please share code bro or atleast share the link of audio.mp3 u used their
@@KrishnaRockstar-xc7kg Hi Krisha, please find me on twitter
it's @dbestech
thank you so much for this tutorial. i felt like i am creating my own app...it gives so much confident.
Buddy, everything worked out. It's all great! Thanks again. Just one thing. The links to the tracks that you suggest in books.json were causing an error. I replaced them, and now everything works perfectly. Now I know how to write audioplayer.
Awesome thank you!
15 mins into video and i subscribed, we want to see more from you, you are doing great brother.
You are most welcome
Закончил смотреть предыдущий урок. Это было круто! Поехали дальше!!!
Once again, I don't understand the language.
tnx very much for your great educational video, 2 Question: 1: how can we play from asset(local) instead of URL? 2: during the playing, time step and Slider does not word ( do not go forward automatically)
J'ai liké la vidéo, puis je me suis abonné sur ta chaîne juste après 1 minute en déroulant ta description. T'es un vrai GOAT frère 🤩🤩
thank you.
@@dbestech how to add the equalizer option? I am a beginner I do not have too much experience in the field thank you.
@dbesttech helped me alot in my school project thanks to you i did great, this is an appreciation comment, we hop on seeing you on more videos
You are most welcome.
Very nice and details explanation thankyou so much 🙏🏼🙏🏼🙏🏼
So nice of you
The argument type 'String' can't be assigned to the parameter type 'Source'. solution for this?
tnx man
Welcome
awesome video love your teaching style. i learned alot
Glad to hear it!
Thank you so much, man.💌
You're welcome!
Sir, Thank you very much for this tutorial 🙏
You are most welcome
So, I don't want the Audioplayer to stop when i leave the detail_audio_page, I want the Audio to play in the background. When i go back to home and press on another book, the new Audio will overlap the currently playing audio. So how do I stop the Audio from playing when i press on another Book in the list? I think i might have to call the audioplayer in the home view, but I don't know how. Can you help me?
Playing the audio player in the background is pretty easy. Just don't stop the audio instance.
Regarding other part, Your current logic is ok. Yes you have to create global instance of audio player from home view. But it's a bit more difficult process. It involves managing state variable globally. We might need to use bloc or getx to do that. Other way, is to create an audio instance with id which is described here pub.dev/packages/audioplayers in this link. Go at the bottom.
were you able to implement it? I also want this functionality in my app.
can you share the code please
this.widget.advancedPlayer.onAudioPositionChanged.listen((p) is depricated, how should I replace it? same as setUrl(path) is not defined for this audioplayer, how can I repair the errors? Help - thanks
Hi, www.dbestech.com/tutorials/flutter-e-book-reading-app-using-audio-player follow this link, I have updated it. Let me know further problems.
Hey. This is EXACTLY what im looking for. Im trying to create an app like this for my girlfriend.
The thing is that i want to add my own mp3s instead of from a server. How do i do that?
+ how do i program that when you stop it plays again at the same spot you hit stop? :)
Bro Where is the JSON file Link you added on String URL PATH in Audio_file.dart. it is not provided in resource file as well
Check out the comment section
@@dbestech couldnt find anything bro
Helped me a lot, thx dude
You are welcome
thank you man you are really awsome ,i learn a lot of from you ,i wish you will make flutter app node js as backend ,thank you god bless you
thanks for detailed steps
Most welcome
Thanks a lot for the tutorial. I got an issue. I cannot pass the audio path unless I add source(path), and I still cannot play the audio. How do we play local audios please? Thanks again!
Love From INDIA ❤️
Thank you
wonderful
You are most welcome
Thank you for the video when will you make a video player like this ???
thanks, great tutorial
You're welcome!
Hello sir I am very thankful to u...u have explained so nicely ....I have just one question I successfully played audio from internet on chrome...but I unable to play it on andriod
Big support 💙
Thanks
Thank you very much 💓💓💓💓
You're welcome 😊
hiya, today I learned flutter by following your tutorial which is fantastic. And did you say that you are in China? which city are you in exactly. BTW, I am in ShenZhen.
You are most welcome. I happy to know that, it helped you. I am in Shanghai. I am a foreigner though. and Thanks again for following
@@dbestechNow that you're working in SH, You're Shanghainese now.LOL. Great Job for the tutorials. I can learn a lot from your channel.
@@linweishuo5964 hahah. yeah. I am half Shanghainese.
I would appreciate a lot if you share the link on facebook or twitter.
good tutorial, but I was looking forward to next and previous to go to the next audio and the previous video
There is a video tutorial. Did you check it out?
Please Sir, can you add a background functionality with audio service if you dont mind. I complete the project and learned a lot. Thank you so much
Thanks. I will try to make a better one
Appreciate that, looking forward to see it inshAllah. Thank you@@dbestech
when playing finishes it crashes, rather how to do like after complete pause and seek to zero position
Firstly, I must thank you for putting in such a great effort for all of us to understand the flutter concepts. One question: how can I show a circular loading icon when the audio is buffering, is there an event to know if the audio is in buffering state?
I haven't tried that yet
Man ur teaching really good and your the best but how can I make it login with saving playlist and running the song notification as well as making it friendly with the dynamic island of iphone 14 and so on how can I make those or at least can you make a course for it?
youtube downloader/ converter could be very cool bro !
Thank you bro.
great, thank u
welcome
very helpful
You are most welcome. If possible pls share the tutorial to facebook groups. It would encourage me to make better tutorials in future.
Great work and great works bro learniing alot from your channel .. Can u please share the link of code ??
A/s Sir, can you please make a complete tutorial for mx player or similar video player with Full control of zoom and other, I looked in hole TH-cam and Git but couldn't find. You are my last hope.
hello sir, how to play next audio automatically and how to put next and previous button to play track?
ineed source code with asstes jesson local audio files please
Thank you for a nice tutorial . I want to use just audio package in flutter project but i want use it with sdk dependency “sdk: ">=2.7.0
Hi Lujjain, I haven't restricted any version there. If you want version specific, you may need to change some syntax. Not much though.
Thank you for this powerful vidoe but one quastion is setPlaybackRate(); deprecated or not ?
hi brother thank u so much for this tutorial , but i have small problem when I test the app in real ios device the audio paly throw call speaker not the main speaker :( , is there any way to make it use the main speaker ?
Can you please tell me how to go to next and previous song? I need it urgently. Thanks in advance
hello friend is an excellent video, my congratulations. but I have a doubt: at the end of the audio it puts an error screen with this message " Failed assertion: line 165 pos 15: 'value >= min && value
Ok. Let me take a look. Thanks for getting back to me.
@@dbestech same thing , paly correct in android, and this error in iOS
Can you let us know, how we can display a Text at specific time of the audio?
I am trying show some texts as a summary of an audio which is playing. I need to display at the very specific time of audio, some texts.
Can you please give me clue about this ?
Thanks
1. get the current duration
2. check it matches your expected duration
3. display the text text
CODE (put each code at appropriate postion)
bool isTextshow false;
if (_position.inSeconds == 60) {
setState(() {
isTextshow = true;
});
}
isTextShow ? Text("Some text to show") : Container();
Hi, is it possible to make timeline to move smooth? Will be a great feature!
Yes, absolutely. I will update it in future.
@@dbestech is there any updates? I've made smooth slider, but it's lagging when I'm moving it
how can get musics from phone storage
instead of from url
Sir how can i achieve this "When i quit the app and come back later ,the music player should play from the last place where it had stopped" (similar to udemy video functionality ).i have mailed you as well sir.Hope your answer will help us
How did you fetched the mp3?
@dbstech sir when I add the package it says "Connection closed before full header was received"! Is anyone here who can tell how to solve it?
Hello sir,
Can you please make a video about audio service plugin to show audio playing in notification panel and lockscreen
Hi Sarang, I will try to cover in future tutorials.
how to still play music when move to other page. and when you back in previous page you can pause music playing ???
onPressed: (){
Navigator.of(context).pop();
advancedPlayer.stop();
}, here remove the stop function. You would be able to play.
hi, it says to visit your patreon for source code etc but there are only 8 projects and this is not included?
Its' there name as auido player. Let me know if you find it or not
@@dbestech sorry, there I see only 8 projects, couldn't find it
Is this play in background?
how can we upload mp3 from google drive?
LateInitializationError: Field 'advancedPlayer' has not been initialized. How to solve?
Create a player from it. Show me the timeline
@@dbestech Starting in 35:58. I was doing same thing but i got red screen error "Field 'advancedPlayer' has not been initiazed"
@@gooseman4776 here it does not seem like a problem. Make sure you have audioPlayer=AudioPlayer() in the init state
Привет из злой России! 😂
Мужик, спасибо тебе за науку!😎
What’s this ?
@@dbestech Thank you for the knowledge! 😎
@@yakut54 most welcome
Will this app play the audio in the background after minimising the app as well?
For now it does. But you can follow the link below to stop it when the minimize the app. stackoverflow.com/questions/61678052/flutter-music-plays-after-closing-application but it needs some restructure of the app though.
@@dbestech Cool. Thank you!
@@shamiljamion2024 You are welcome
He'll teacher I have a problem when I try play music by play() in new update i cannot get setUrl() you can get setSourceUrl and than when you try play Music it Say String can not assigned the parameter typ SOURCE plz help me I am taird to solov problem
You should stick to my audio_player plugin version number. I think you are using a newer version of the audio player.
@@dbestech thanks Teacher for Replay 💞Yes I use New Version Do you Know I solve the problem by other way I make ne var d = this.widget.audioPath
Than make Source x = UrlSource(d)
Than play(x);
Thank you for this tutorial . I want to play music in json from server can tell me how can i make that usin firebase
do you know how to return json format from firebase? If you knew it would be the same.
@@dbestech now i dont know if you have a tutorial about how can i return json data from firebase
I'm looking at tutorials to create music playlists and I basically want to know, is this something that can be put on the Play Store or are there legalities to be concerned about with royalties? Being that it's from a url, I'm not sure how that would be worked out.
You can use, all the code for free.
man your intro music volume is too loud and your mic volumes is too low, it makes me really uncomfortable to watch, next time please make the music on your intro and your mic voice as always at the same lavel through out entire video
So don't watch the video.
@@realmebook2036 idiot
Brother , I have accessed data from from local storage to the player but I am unable to delete the file directly from the player . How can I do that
I haven't tested it. But you can not really delete from your device memory. If you use SharedPreferences then you can delete them.
RangeError (index): Invalid value: Only valid value is 0: 1
im getting this error when i'm going to open different data in the listiview.
from which line you get this error? or what's the time in the video? So that I can take a look
Bru
Evey time you mack Mediaquery ,
I have problems .
I dont now why
what's the problem?
How to handle API in flutter
Did you watch th-cam.com/video/kTrbcb21ENU/w-d-xo.html tut? Here I explained how to use API
I can't find Json file the same you, you can help me Json, Thanks you
Check again
Is the code on Patreon ?I can't find it , please help.Thanks
were you able to solve it if not please find me instagram/twitter/facebook @dbestech
can someone help me and tell if this is work in syria 🇸🇾……..please
In short, your player is working fine, but when you install the APK file on your Android phone, there is no sound.🙁
I will try that
@@dbestech It's working! I should have added this:
Sir can you make a app like whatapp ,imo , in flutter and can you implement back-end as python
Yes. In future tutorial we will see that. Thanks for the comment though
@@dbestech iam search lot about it . There is only chatting part showing in all videos but voice and video calling not showing . Please take a look on calling option
@@dbestech any way your ui is super thanks . I love it 😍💖💖😍
@@iam_muni_baa You are most welcome
@@iam_muni_baa In my app, I don't have videos or calling options. Are you sure you are talking about this tutorial? It's an audio book app.
What if I want to display the playlist at the top of the screen where I am selecting music? How would I do that?
now, you need to create an empty space there at the top and once you select, save it in a list, and then use setState() function to save in the list. read the list in the empty space.
@@dbestech thank you so much!
Hello sir
Can you please tell me from where you got Api bcz I need right now
Kindly request.
I think I didn't use any api for this. It's a link of the audio.
How to create flutter package from scratch
Follow this link medium.com/flutter-community/how-to-create-publish-and-manage-flutter-packages-b4f2cd2c6b90
please upload sorce code
where is the music url
in a json file. for this pls refer to the previous tutorial
Why duration is showing 0:00
Though position is working as audio plays
Can anybody help?
make sure you have this Widget slider() {
return Slider(
activeColor: Colors.red,
inactiveColor: Colors.grey,
value: _position.inSeconds.toDouble(),
min: 0.0,
max: _duration.inSeconds.toDouble(),
onChanged: (double value) {
setState(() {
changeToSecond(value.toInt());
value = value;
});});
}
void changeToSecond(int second){
Duration newDuration = Duration(seconds: second);
this.widget.advancedPlayer.seek(newDuration);
}
The length is showing 0:00
I've done exactly you showed
how can i get the assets
@dbestech Pls tweet me on twitter. I will send you
hat should i think about a reviewer with audio content
who make that bad sound on his Vids?
Yes. later videos don't have background audio
but how to get the duration of the audio in advance, I would like to display a list with the duration
yes. you can do it. but then you need to initialize all the audios in a loop and save the duration. Instead of initializing one, you need to initialize all the audios. then after saving the value you need to close or dispose them. and use the audios later when you need again.
@@dbestech thank you very much. i will try
sure
Anyone got the source code for this?
Can we play in the background ?
Not yet.
@@dbestech is it not provided in the package right ?
how to show words of song??🤔
You need to save them in database and read them back. You also need to save timestamps for it.
r u using android studio for flutter
Yes. bro
Do you have a link to the app for us to download
not now
how to show minutes only while playing eg(8:05) in duration of the song
Just split the time using .split(":") and then using indexing to get minutes. Like .split(":")[1]
@@dbestech I tried this but it shows like 00 only I need to show like 0:00
Can u share source code in phone call record in flutter?
Hi Mohamed, it's all in my patreon account. you can unlock it from there with assets.
No background play ?
For now no.
how to connect to backend
connecting backend is easy. I have alot of tutorials about it.
@@dbestech actually ther is a problem to how to get video. That videos in backend but show in front-end
@@papneshpatel7008 take my bloc or Riverpod class. I showed how to read videos from backend and play
sir, why my duration is 0?
sorry for late reply. Were you able to fix it, if not tell me more about it. if you have any error tell me about it in detail
1:05:46
Hi Japan, how are you doing?
@@dbestech i was still confused at the time of the audio call from json
@@rakzzjapan1739 were you able to solve it now?
so i put the audio in firebase storage and copy the location link in json, how do i call it?
@@rakzzjapan1739 I haven't really used firebase storage much. So not much Idea. But technically they should be the same as other storage or server
Sir i ran into the pod problem again...i installed ruby and pods and set the path...now if i do pod install only in the terminal,pods are installed but if i try to build the application it says error running pod install..an error ooccured while running the post install hook(same as before-when i have tried the video player app..but this time the paths donot appear in red )
And it shows error on continue in this line..:
continue if xcframework_file.start_with?(".") # Hidden fine possibly on external disk..
can u give tip sir?..i am very fed up.
did you try to remove Podfile and pod.lock file and reinstall ?
@@dbestech sir i tried that..when i do that and again install pod...
Podfile is generated but not podfile.lock and its the same error..
Sir what should i do...where should i learn??
@@angelkarki2963 question, can you create other simple projects using pod? Is so let me know. If not, then it’s your total setting problems of the device environment
@@dbestech i don't know sir..i have tried both audio and video player..and i failed..if you can please kindly tell me what should i learn to debug this..
where is the path of video ??? link
Hi Om, what do you mean by path of the video?
when I click the button the song did not play !
why
there are a lot of messages I can't understand them
as
E/flutter ( 6939): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
E/flutter ( 6939): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:18)
E/flutter ( 6939):
E/flutter ( 6939): #2 AudioPlayer._invokeMethod (package:audioplayers/src/audioplayer.dart:149:20)
E/flutter ( 6939):
E/flutter ( 6939): #3 AudioPlayer.play (package:audioplayers/src/audioplayer.dart:171:20)
E/flutter ( 6939):
E/flutter ( 6939):
W/MediaPlayer-JNI( 6939): MediaPlayer finalized without being released
First comment
Is there a GitHub link
There is patreon link for this.
Will u plz provide me source code free. Its very important.
chose a different mp3 audio from google
books.json file is here
[
{
"rating": "4.5",
"title":"THE WATER CURE",
"text":"Martin Hyatt",
"img": "img/pic-1.png",
"audio": "st.bslmeiyu.com/uploads/%e6%9c%97%e6%96%87%e5%9b%bd%e9%99%85SBS%e7%b3%bb%e5%88%97/%e6%9c%97%e6%96%87%e5%9b%bd%e9%99%85%e8%8b%b1%e8%af%ad%e6%95%99%e7%a8%8b%e7%ac%ac1%e5%86%8c_V2/%e5%ad%a6%e7%94%9f%e7%94%a8%e4%b9%a6/P149_Chapter%2016_Vocabulary%20Preview.mp3"
},
{
"rating": "4.5",
"title":"PEACE LIFE",
"text":"Hazard Bin",
"img": "img/pic-2.png",
"audio": "st.bslmeiyu.com/uploads/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85SBS%E7%B3%BB%E5%88%97/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85%E8%8B%B1%E8%AF%AD%E6%95%99%E7%A8%8B%E7%AC%AC2%E5%86%8C_V2/%E5%AD%A6%E7%94%9F%E7%94%A8%E4%B9%A6/P027_Side%20by%20Side%20Gazette%2001_2Build%20Your%20Vocabulary!.mp3"
},
{
"rating": "4.5",
"title":"Day Remember",
"text":"Nicholos",
"img": "img/pic-3.png",
"audio": "st.bslmeiyu.com/uploads/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85SBS%E7%B3%BB%E5%88%97/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85%E8%8B%B1%E8%AF%AD%E6%95%99%E7%A8%8B%E7%AC%AC2%E5%86%8C_V2/%E5%AD%A6%E7%94%9F%E7%94%A8%E4%B9%A6/P027_Side%20by%20Side%20Gazette%2001_2Build%20Your%20Vocabulary!.mp3"
},
{
"rating": "4.5",
"title":"France",
"text":"Paris",
"img": "img/pic-4.png",
"audio": "st.bslmeiyu.com/uploads/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85SBS%E7%B3%BB%E5%88%97/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85%E8%8B%B1%E8%AF%AD%E6%95%99%E7%A8%8B%E7%AC%AC1%E5%86%8C_V2/%E5%AD%A6%E7%94%9F%E7%94%A8%E4%B9%A6/P150_Chapter%2016_1Model%20Conversation.mp3"
},
{
"rating": "4.5",
"title":"Germany",
"text":"Berlin",
"img": "img/pic-5.png",
"audio": "st.bslmeiyu.com/uploads/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85SBS%E7%B3%BB%E5%88%97/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85%E8%8B%B1%E8%AF%AD%E6%95%99%E7%A8%8B%E7%AC%AC1%E5%86%8C_V2/%E5%AD%A6%E7%94%9F%E7%94%A8%E4%B9%A6/P150_Chapter%2016_1Model%20Conversation.mp3"
},
{
"rating": "4.5",
"title":"Italy",
"text":"Rome",
"img": "img/pic-1.png",
"audio": "st.bslmeiyu.com/uploads/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85SBS%E7%B3%BB%E5%88%97/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85%E8%8B%B1%E8%AF%AD%E6%95%99%E7%A8%8B%E7%AC%AC1%E5%86%8C_V2/%E5%AD%A6%E7%94%9F%E7%94%A8%E4%B9%A6/P150_Chapter%2016_1Model%20Conversation.mp3"
},
{
"rating": "4.5",
"title":"Switzerland",
"text":"Bern",
"img": "img/pic-1.png",
"audio": "st.bslmeiyu.com/uploads/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85SBS%E7%B3%BB%E5%88%97/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85%E8%8B%B1%E8%AF%AD%E6%95%99%E7%A8%8B%E7%AC%AC1%E5%86%8C_V2/%E5%AD%A6%E7%94%9F%E7%94%A8%E4%B9%A6/P150_Chapter%2016_1Model%20Conversation.mp3"
},
{
"rating": "4.5",
"title":"Singapore",
"text":"Singapore",
"img": "img/pic-1.png",
"audio": "st.bslmeiyu.com/uploads/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85SBS%E7%B3%BB%E5%88%97/%E6%9C%97%E6%96%87%E5%9B%BD%E9%99%85%E8%8B%B1%E8%AF%AD%E6%95%99%E7%A8%8B%E7%AC%AC1%E5%86%8C_V2/%E5%AD%A6%E7%94%9F%E7%94%A8%E4%B9%A6/P150_Chapter%2016_1Model%20Conversation.mp3"
}
]
popularBooks.json file is here
[
{
"rating": "4.5",
"title":"THE WATER CURE",
"text":"Martin Hyatt",
"img": "img/pic-8.png",
"audio": "Voices.mp3"
},
{
"rating": "4.6",
"title":"PEACE LIFE",
"text":"Hazard Bin",
"img": "img/pic-7.png",
"audio": "June - Bobby Richards.mp3"
},
{
"rating": "4.5",
"title":"Day Remember",
"text":"Nicholos",
"img": "img/pic-6.png",
"audio": "Muriel - Bobby Richards.mp3"
},
{
"rating": "4.5",
"title":"France",
"text":"Paris",
"img": "img/pic-9.png",
"audio": "Piano Trap.mp3"
},
{
"rating": "4.5",
"title":"Germany",
"text":"Berlin",
"img": "img/pic-10.png",
"audio": "Voices.mp3"
}
]
Hello Sir, how can i use the audio file in popularbooks.json its not an url. i have the same same scenario in my app and i dont know what to do....?