No video

How to Play Audio & Video on Android with Exoplayer | Android Studio | 2024

  Рет қаралды 7,215

Easy Tuto

Easy Tuto

8 ай бұрын

How to play or stream audio and video with the URL directly from cloud to android phone with the help of Exoplayer or Media3 library.
In this video you will learn following key things :
* How to play audio from url
* How to play video from url
* How to implement Exoplayer
* How to integrate Exoplayer to play audio
* How to make media player in android
* How to play audio and video in android
If you want to support
☕ Buy me a coffee!"☕
www.buymeacoff...
---------------------------------------------------------------------------------------------------------------
🔥 Don't forget to like, share, and subscribe for more awesome tutorials! 🎉
---------------------------------------------------------------------------------------------------------------
💬Chat app with Firebase Complete Series 🔥
• Chat App with Firebase...
📱TikTok Clone app with Firebase Complete Series 🔥
• Shorts App (Reels,Shor...
Android Full Project App Development Playlist:
• Playlist
INSTAGRAM :
/ easytutoyt

Пікірлер: 59
@yesman3442
@yesman3442 8 ай бұрын
Today you show us your face not hand 😅, I really appreciate your work sir. Thanks and God bless.
@GTaichou
@GTaichou 4 ай бұрын
This video was so much more helpful than the first four weeks of my Android dev class THANK YOU!!
@EasyTuto1
@EasyTuto1 3 ай бұрын
Glad it helped!
@c4bleturn438
@c4bleturn438 8 ай бұрын
you are the best android studio developer thank's man
@Maytag1987
@Maytag1987 8 ай бұрын
You rock! Thank you for making this video, this should help me greatly with my app development project I am working on!! You earned my subscription for sure!
@ayuspandey
@ayuspandey Ай бұрын
Bhai landscape portrait krne ka option kaise aega ?
@premiumdeveloper
@premiumdeveloper 8 ай бұрын
first time seeing your face, what really made me know it was you is the beginning when you say "what is going on guys" good video man, next project should be a twitter clone using java and xml or habit tracker application using java and xml
@bhushanlilhare8927
@bhushanlilhare8927 Ай бұрын
Kay ise java mein use kar skte hai
@Maytag1987
@Maytag1987 7 ай бұрын
Hello, this example works very well for me. I tried to expand the app by adding a new kotlin class with a new xml activity, and added a button the main activity to go the new class. From the new page, I want to play audio like was done on the main activity. I added buttons, and call the MediaPlayerActivity function to play via Exoplayer, but the player page does not show, no errors and no audio. All audio works on the MainActivity. I tried creating a new MediaPlayerActivity (with setContentView set to the new activity page instead of binding.root) to be called by the new class file, but still no media player page. Suggestions on what I may have missed for audio to work on other activity pages in the same app? Thank you!
@EasyTuto1
@EasyTuto1 7 ай бұрын
New video will be up in coming week. There i have done similar things. You can checkout that. Stay tuned.
@haopham4796
@haopham4796 8 ай бұрын
I use push notifications to notify back and forth between the management app and the sales app. But only the management application receives notifications. Although testing on firebase notification messages still works
@EasyTuto1
@EasyTuto1 7 ай бұрын
Something might be wrong in code. Or maybe notification are turned off in the devices.
@Maytag1987
@Maytag1987 8 ай бұрын
Love your tutorials! Could you possibly show how to do this with Firebase so you can have a number of audio files and some text (example -descriptive title), the app reads whatever files and text are in the Firebase project, and then will allow playback of desired audio files? I see you have a tutorial with video clips but I think the playback mechanism is a bit different for audio. This would also be like spotify. Thank you!
@EasyTuto1
@EasyTuto1 7 ай бұрын
Sure. I was also planning for similar tutorial.
@Maytag1987
@Maytag1987 7 ай бұрын
@@EasyTuto1 That is great - would love to be able to add or remove audio and descriptive text from Firebase, have the read [dynamically] whatever is there, load them into an array or something, and be able to select ones to play (no more need to update the app to add new audio!) I am still learning and I want to create categories of pages, each with their own related audio, and maybe the best way to do that is to use a different Firebase project for each, or possibly use categorization by name of audio and text files, and for each page, read in just the files that starts with a prefix for that specific category. Will give that one some thought! Thank you!
@anilkumarkushwaha2097
@anilkumarkushwaha2097 6 ай бұрын
Thanks sir, your tutorial are very useful for us.. , i am a beginner of Android studio and your tutorial are very useful, please provide also tutorial source code for help..
@anilkumarkushwaha2097
@anilkumarkushwaha2097 6 ай бұрын
Which EXO library is best for radio app for direct playing audio from any any audio stream url.
@toxicnepal4003
@toxicnepal4003 6 ай бұрын
thanks for the video, learning a lot from your channel.
@EasyTuto1
@EasyTuto1 6 ай бұрын
Thanks you too ❤️ Keep learning.
@emmagetsu7369
@emmagetsu7369 7 ай бұрын
Excellent tutorial, you could do it in jetpack compose to call the live channel URLs in a lazygrid that contains image and text
@EasyTuto1
@EasyTuto1 7 ай бұрын
Cool, thanks
@Jjjnmkkmkkk
@Jjjnmkkmkkk 2 ай бұрын
Can't u make the video in Java
@MukeshPatel-jz8fe
@MukeshPatel-jz8fe 7 ай бұрын
@EasyTuto1 Do you have any sample app related to video caching? or can you please make it.
@EasyTuto1
@EasyTuto1 7 ай бұрын
Not yet
@MastersOfSat
@MastersOfSat 5 ай бұрын
I have a problem, can you give me a solution if possible?
@EasyTuto1
@EasyTuto1 5 ай бұрын
Yes please.
@Jjjnmkkmkkk
@Jjjnmkkmkkk 17 сағат бұрын
Why do you reply to everyone except me please make your videos in Java code 😢 I'm coding on my phone I'm not having a laptop 💻
@EasyTuto1
@EasyTuto1 12 сағат бұрын
You need to switch to kotlin brother.
@champbhopali5025
@champbhopali5025 5 ай бұрын
Good job working nicely
@EasyTuto1
@EasyTuto1 5 ай бұрын
Great
@m.e.ssofttech2806
@m.e.ssofttech2806 6 ай бұрын
Why I can't see a video after implementing whole codes, I just here sounds only
@EasyTuto1
@EasyTuto1 6 ай бұрын
Is the link you have given for is video or audio?
@m.e.ssofttech2806
@m.e.ssofttech2806 6 ай бұрын
@@EasyTuto1 The link is for video from public test videos with these dependency implementation "androidx.media3:media3-exoplayer:1.2.1" implementation "androidx.media3:media3-exoplayer-dash:1.2.1" implementation "androidx.media3:media3-ui:1.2.1" After implementing the whole codes I just here sound only without video. Despite adding the internet permission
@m.e.ssofttech2806
@m.e.ssofttech2806 6 ай бұрын
Ooh thanks, finally I resolved it, there were some bugs but I've fixed.
@EasyTuto1
@EasyTuto1 6 ай бұрын
Glad you fixed it.🫶
@sudarshanthite5937
@sudarshanthite5937 5 ай бұрын
How to play the video with subtitles in this player
@EasyTuto1
@EasyTuto1 5 ай бұрын
If you have subtitle in the video, it automatically works.
@sudarshanthite5937
@sudarshanthite5937 5 ай бұрын
@@EasyTuto1 , is this player support m3u8 video.
@ShahabuddinChowdhuryBD
@ShahabuddinChowdhuryBD 5 ай бұрын
Thank you boss❤❤❤
@EasyTuto1
@EasyTuto1 5 ай бұрын
Welcome
@rishiraj2548
@rishiraj2548 8 ай бұрын
Good. How are you?
@TheNoobDhruv
@TheNoobDhruv 3 ай бұрын
How to play youtube video in exoplayer
@EasyTuto1
@EasyTuto1 3 ай бұрын
You can't play youtube videos.
@TheNoobDhruv
@TheNoobDhruv 3 ай бұрын
@@EasyTuto1 using youtube data api ?
@surya14_kumar_s_k_y
@surya14_kumar_s_k_y 7 ай бұрын
Source code ki link bhi description box me de diya karo jii..
@EasyTuto1
@EasyTuto1 7 ай бұрын
Most of the video's source code will be there. This was simple and less code that's why its not there.
@MastersOfSat
@MastersOfSat 5 ай бұрын
❤❤❤❤
@EasyTuto1
@EasyTuto1 5 ай бұрын
❤️
@hacknmode
@hacknmode 8 ай бұрын
Sir, What is Average salary of Android developer ?
@EasyTuto1
@EasyTuto1 7 ай бұрын
Its upto your skill and experience. But yes its more than average.
@jitenSingha-kw6eb
@jitenSingha-kw6eb 6 ай бұрын
Next Part bro
@mdabdulhamid7931
@mdabdulhamid7931 7 ай бұрын
java diye akta video den,
@EasyTuto1
@EasyTuto1 6 ай бұрын
Hayır, kotlin'de.
@LocktheRoom
@LocktheRoom 8 ай бұрын
Bhai Yrr tu hi padha de yrr online video se otna nhi sikh pa rha ho paise lekar akele padha de bro
@EasyTuto1
@EasyTuto1 7 ай бұрын
I am teaching here freely. Do create all the projects created in the channel, you will gain lots of knowlede.
@EasyTuto1
@EasyTuto1 7 ай бұрын
I am teaching here freely. Do create all the projects created in the channel, you will gain lots of knowlede.
@China_SquareKenya
@China_SquareKenya 8 ай бұрын
Source code kindly??
@EasyTuto1
@EasyTuto1 7 ай бұрын
Apology. No source code for this since its just a demo application to show the implementation of Exoplayer.
@China_SquareKenya
@China_SquareKenya 7 ай бұрын
@@EasyTuto1 okay cool thanks
Fastest Way to Become Android Developer in 2024 🔥
13:30
Easy Tuto
Рет қаралды 6 М.
Это реально работает?!
00:33
БРУНО
Рет қаралды 4,3 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 36 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 14 МЛН
UNO!
00:18
БРУНО
Рет қаралды 4,2 МЛН
How to optimize media streaming with ExoPlayer
21:58
Android Developers
Рет қаралды 25 М.
How to Play Music on Android Using MediaPlayer
12:32
Codes Easy
Рет қаралды 3,4 М.
What's new in Flutter 3.24 | Flutter 2024 Updates #flutter
3:43
Runtime Snippets
Рет қаралды 333
MediaPlayer in Android Studio
12:25
Sandip Bhattacharya
Рет қаралды 27 М.
Retrofit Android Tutorial - Make API Calls
53:37
Ahmed Guedmioui
Рет қаралды 16 М.
VideoView In Android - Load Video in Android
8:27
Codes Easy
Рет қаралды 18 М.
Playing Video in a RecyclerView with ExoPlayer
48:02
CodingWithMitch
Рет қаралды 66 М.
Это реально работает?!
00:33
БРУНО
Рет қаралды 4,3 МЛН