How to Play Audio & Video on Android with Exoplayer | Android Studio | 2024
Вставка
- Опубліковано 10 вер 2024
- 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
Today you show us your face not hand 😅, I really appreciate your work sir. Thanks and God bless.
This video was so much more helpful than the first four weeks of my Android dev class THANK YOU!!
Glad it helped!
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!
you are the best android studio developer thank's man
Dear Sir , Can you give me a source code ? I follow your instruction but it always error on some word: activitymain, binding, binding root .etc.
or Please you can show me with java code instead of KOLIN?
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
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!
New video will be up in coming week.
There i have done similar things. You can checkout that.
Stay tuned.
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..
Which EXO library is best for radio app for direct playing audio from any any audio stream url.
Bhai landscape portrait krne ka option kaise aega ?
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
Something might be wrong in code.
Or maybe notification are turned off in the devices.
thanks for the video,
learning a lot from your channel.
Thanks you too ❤️
Keep learning.
Kay ise java mein use kar skte hai
I have a problem, can you give me a solution if possible?
Yes please.
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!
Sure. I was also planning for similar tutorial.
@@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!
Why I can't see a video after implementing whole codes, I just here sounds only
Is the link you have given for is video or audio?
@@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
Ooh thanks, finally I resolved it, there were some bugs but I've fixed.
Glad you fixed it.🫶
Excellent tutorial, you could do it in jetpack compose to call the live channel URLs in a lazygrid that contains image and text
Cool, thanks
Can't u make the video in Java
Good job working nicely
Great
How to play the video with subtitles in this player
If you have subtitle in the video, it automatically works.
@@EasyTuto1 , is this player support m3u8 video.
@EasyTuto1 Do you have any sample app related to video caching? or can you please make it.
Not yet
Sir, What is Average salary of Android developer ?
Its upto your skill and experience.
But yes its more than average.
Thank you boss❤❤❤
Welcome
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 💻
You need to switch to kotlin brother.
How to play youtube video in exoplayer
You can't play youtube videos.
@@EasyTuto1 using youtube data api ?
Source code ki link bhi description box me de diya karo jii..
Most of the video's source code will be there.
This was simple and less code that's why its not there.
Good. How are you?
Bhai Yrr tu hi padha de yrr online video se otna nhi sikh pa rha ho paise lekar akele padha de bro
I am teaching here freely.
Do create all the projects created in the channel, you will gain lots of knowlede.
I am teaching here freely.
Do create all the projects created in the channel, you will gain lots of knowlede.
❤❤❤❤
❤️
Next Part bro
java diye akta video den,
Hayır, kotlin'de.
Source code kindly??
Apology. No source code for this since its just a demo application to show the implementation of Exoplayer.
@@EasyTuto1 okay cool thanks