Playing Video in a RecyclerView with ExoPlayer

  Рет қаралды 66,590

CodingWithMitch

CodingWithMitch

Күн бұрын

Пікірлер: 305
@sachinharne7064
@sachinharne7064 5 жыл бұрын
I watched the whole thing 😭😭😭😭 , very well explained. I love all your tutorials and got some techniques in my code. Thank you so much Mitch...
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Right on brother
@Ericblessedchild
@Ericblessedchild 5 жыл бұрын
You're awesome brother . We need people like you in this world
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Hell ya brothrrrrr
@kumarshubham2812
@kumarshubham2812 4 жыл бұрын
How to use viewpager2 instead of recycler view and display one item at a time (full screen). By the way, this video was very helpful. Thnx!!
@HessamYusuf
@HessamYusuf 5 жыл бұрын
Thanks for this great tutorial. I'm implementing this with different types of data, for example, some posts in recyclerview will have video with some text description while others will have Images with text and some may only be presented with Text only. Now everything is working as expected except for one thing. If the recyclerview will present a post with video, it will start playing video and I can mute unmute the video by tapping on that specific card, the next card in recyclerview is displaying Image with textview both cards cover 50% 50% of the screen. Now if a tap on the second card with Imageview still it will mute unmute the video playing in the first cardview.
@HessamYusuf
@HessamYusuf 5 жыл бұрын
I can put a flag in recyclerview class to check if the card contains video content or not and based on that I can trigger the sound control but that doesn't seem the right way.
@paulopontovaz
@paulopontovaz 4 жыл бұрын
I was one of the people who watched the whole video 🎉. I'm gonna also check the Exoplayer 101 blog post. And I've watched the Retrofit video also. KZbin lacks high-quality tutorials like yours, at least the stuff I searched for (recyclerview, exoplayer, retrofit, etc.) Thanks for the huge help and keep it up!
@alexandermamayenko1855
@alexandermamayenko1855 3 жыл бұрын
Watched the whole thing! Thank you!! seems it is the best and only video aboutVideo in a RecyclerView. And thank you for your diction, it was a pleasure to listen you
@triplea0070
@triplea0070 5 жыл бұрын
i watched the whole video and i am going to watch it again and again till i fully understand it and thank you for uploading this amazing video Mitch
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Good idea. The logic is tricky
@uttam8349
@uttam8349 3 жыл бұрын
Thank you man. I was looking for this tutorial video almost a month.
@alokitnigam
@alokitnigam 5 жыл бұрын
I have watched the whole thing ,that custom recycler view implementation is too damn cool. Thanks
@alishahid2079
@alishahid2079 5 жыл бұрын
watched the whole vedio , you'r the best android teacher on youtube, ,,,
@pradeepsodhi5183
@pradeepsodhi5183 2 жыл бұрын
I watched the whole video. Hats off to you very well explained the code walk through of tutorail.
@mudassirhussain8427
@mudassirhussain8427 3 жыл бұрын
Sir, whatever the length will be, we'll be here to watch. Thanks for such videos.
@shil331
@shil331 3 жыл бұрын
I watched the whole video. It took me a week with breaks and stuff. It was funny you didn't stop complaining how long the video is🤣🤣
@AnkitSolanki-md5tm
@AnkitSolanki-md5tm 6 ай бұрын
Watched the whole thing and also take nap in between the video 😆😆. Really good stuff you provided..💪
@imamirfury
@imamirfury 5 жыл бұрын
I Watched The Whole Thing. And it is a very very good video tutorial for playing a video in Recyclerview. We Really Apriciate Your work Sir. Thank you for teaching us such things.
@VishalSingh-eb4zc
@VishalSingh-eb4zc 5 жыл бұрын
I watched the whole thing 😭😭😭😭 i also watching pluralsight android gestures i loved all video thank you😊😀😀 soooo much i always support you
@codingwithmitch
@codingwithmitch 5 жыл бұрын
You crazy. Thanks 😘
@fakhruddintahery1561
@fakhruddintahery1561 4 жыл бұрын
I've watched the whole thing and it was worth it. Thank you so much :)
@paarthachakraborty
@paarthachakraborty 3 жыл бұрын
I've watched it all. Thanks Mitch. You've rocked the whole video :)
@pokemongoadventures
@pokemongoadventures 9 ай бұрын
Great tutorial useful even after 4 years needs improvements !!! Will wait for part 2 for this with upgrades and bug fixes which are in existing code
@nosikuminyoi18
@nosikuminyoi18 5 жыл бұрын
Exactly what i needed in my project , you're a life saver
@Supermanindia98
@Supermanindia98 3 жыл бұрын
Does the video has full screen display
@Ntandoemk
@Ntandoemk 5 жыл бұрын
Watched the whole thing!!! Awesome stuff. Thank you.
@codingwithmitch
@codingwithmitch 5 жыл бұрын
You crazy
@elrainswilson4820
@elrainswilson4820 2 жыл бұрын
watched all of it ... you guys you are doing a very good job
@priyap8346
@priyap8346 4 жыл бұрын
I watched it till the end!!! Thanks a lot for this one
@madmad555
@madmad555 5 жыл бұрын
You should make button on your site so that we can copy in one-click otherwhise great video you have the clearest explanation
@mdabir9173
@mdabir9173 4 жыл бұрын
I watched the whole thinks and really the way you explain everything is so helpful for us....so that's why we din't skip a single second from your video.....happy emoji from me :)
@ragulchelladurai4952
@ragulchelladurai4952 4 жыл бұрын
Thank you so much.. I watched everything.. U r my god man...
@AbdulAlimalim1496
@AbdulAlimalim1496 4 жыл бұрын
I watched the whole thing. It is really very much helpful.
@raghuthetraveler
@raghuthetraveler 5 жыл бұрын
i appreciate the way your explain. its easy to follow. nice job.
@Amardas91367
@Amardas91367 4 жыл бұрын
Sir two Question 1) How Can We add our video in app from firebase 2) How to Rotate this video in landscape
@Amardas91367
@Amardas91367 4 жыл бұрын
Please sir Reply me a am waiting for your answer
@sulmanyousaf6545
@sulmanyousaf6545 4 жыл бұрын
i made it if you need contact me
@d_3_a_d_p_o_o_l
@d_3_a_d_p_o_o_l 5 жыл бұрын
I learnt lot of things from you. I'm fan of your sir...👍👌🤞
@debdutsaha4316
@debdutsaha4316 4 жыл бұрын
Thanks for this video...It will give me the power to insert section in my existing oroject
@질라탄스트릭랜드
@질라탄스트릭랜드 4 жыл бұрын
i've just watched the whole thing following all of the steps and now my fingers are crossed waiting for the app running.
@shahidanjum2526
@shahidanjum2526 5 жыл бұрын
Watching in India. You are awesome!
@mstar348
@mstar348 4 жыл бұрын
Watched the whole thing, this is good sample. thanks
@ohanzDehyper
@ohanzDehyper 2 жыл бұрын
Watched the Whole Vid. Grateful!
@InPic
@InPic 4 жыл бұрын
i am trying to implement this with firebase databse but dont know what to do with the mediaobject.size( ); how to do that ??//
@artb7788
@artb7788 4 жыл бұрын
Nice tutorial , small thing forgot to mention "INTERNET" permissions
@liweigao4755
@liweigao4755 4 жыл бұрын
Got inspired when trying to load multiple maps inside recyclerview. A potential improvement is to call addVideo() after initializing the reyclerview. Otherwise, the first video will not autoplay until you scroll.
@yusufharith4994
@yusufharith4994 2 жыл бұрын
i have the same issue of the first video not playing.. can you explain more ?
@arunharbola3006
@arunharbola3006 3 жыл бұрын
Nice tutorial , man ! It just cleared all my doubts .
@omnidigitalagency8442
@omnidigitalagency8442 4 жыл бұрын
Excellent tutorial! What changes do I need to make to get live hls urls to work?
@harshbarnwal1879
@harshbarnwal1879 3 жыл бұрын
I watched whole video many times❤️
@sameersharma1709
@sameersharma1709 4 жыл бұрын
I watched the whole thing at 1.5x speed. Thank you. :)
@ladygeraldinevillamilguerr1352
@ladygeraldinevillamilguerr1352 4 жыл бұрын
I watched the whole thing! thanks a lot :D ! I just have one question. I would like to build the recycler with videos, Images and texts (multiple view type). Does the Exoplayer work in this way? ^^
@96ram12
@96ram12 3 жыл бұрын
I Love the way you tech bro 😎 keep rocking
@faisalwaris2355
@faisalwaris2355 4 жыл бұрын
Really great. I watched the complete video. Thanks alot
@umer7267
@umer7267 2 жыл бұрын
Very well explained! But how we can create a custom recyclerview for different types of viewholder? Just like instagram.
@tlideas
@tlideas Жыл бұрын
Thanks you man. You are very awesone
@yashchaudhary4385
@yashchaudhary4385 5 жыл бұрын
Watched the whole video, Oh wait, I watch your whole videos every time (kind of hard to close it when you make the videos on interesting topics like this one)...BTW great Video Man!!...>_
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Lol nice
@edvardkushnir9967
@edvardkushnir9967 3 жыл бұрын
I'm really interested in it, but also i dont understand how to make mix with photos and videos in recyclerview Thanks for videos
@havanaally
@havanaally 5 жыл бұрын
I've watched the whole thing, thanks a lot 😊
@codingwithmitch
@codingwithmitch 5 жыл бұрын
u crazy
@Blebona
@Blebona 2 жыл бұрын
...i totally watched this whole thing. about to run, and potentially debut, it.
@mahsa_dolati
@mahsa_dolati 3 жыл бұрын
I watched the whole thing 🤘🏻🤩🙏🏻
@saidooubella
@saidooubella 4 жыл бұрын
I didn't watch the whole video 🤣🤣 I've been checked the code on GitHub ! but is there a way to add a play button instead of auto-play ????
@chemicalsurrealist
@chemicalsurrealist 5 жыл бұрын
Thank you for this video ! I have a question: how to add the other buttons like seek and video quality option ? Also how to add 'download for offline ' functionality in the app for downloading videos in exo chunks?
@sharjeelahmadsiddiqui2649
@sharjeelahmadsiddiqui2649 4 жыл бұрын
Hi Mitch Thanks for this tut.Could you suggest me your further tutorials on exo player advance use cases ? or I will happy if you develope more functionality in it Once again thanks
@sandeepbaghel6335
@sandeepbaghel6335 4 жыл бұрын
I watched the whole video. :o Wow.Thanks for the video. Its helps me a lot.
@rayj88ify
@rayj88ify 3 жыл бұрын
Great video! Could you please come up with a tutorial about how to rotate a videoview 90 degree in recyclerview .
@ayansharma2507
@ayansharma2507 4 жыл бұрын
I watched the whole video Not like😭 instead 🤓 #Awesome content #Excellent teaching #Great knowledge
@lokeshgadekar8539
@lokeshgadekar8539 4 жыл бұрын
👍 I watched the whole video 📱
@kishoreavd
@kishoreavd 4 жыл бұрын
I watched the whole thing 😭Nice tutorial !
@VijayKumar-bl1mg
@VijayKumar-bl1mg 4 жыл бұрын
That's a great video,thanks. Can you tell about managing the state to? That is playing the videos from where they were left earlier
@codingwithmitch
@codingwithmitch 4 жыл бұрын
Save the progress in the viewmodel
@awaisabbas6388
@awaisabbas6388 4 жыл бұрын
Thank you so much for this awesome tutorial, i need your help i think there is a bug, view at zero position dont play video unless you scroll it to the next position and then scroll back.
@jlandyr
@jlandyr 4 жыл бұрын
Watched the whole, great tutorial. I'm wondering if is possible to play videos from youtube with exoplayer?
@samha1513
@samha1513 5 жыл бұрын
It's pretty awesome
@attaullahkhan6157
@attaullahkhan6157 3 жыл бұрын
I watched thr whole thing 😅, but the whole thing was awesome.
@vaibhavsharma2495
@vaibhavsharma2495 5 жыл бұрын
I did it 😃😃😃 i m ur greate fan man u made me android developer
@Amardas91367
@Amardas91367 4 жыл бұрын
Sir how can I add videos from firebase to app
@Ka8eeM
@Ka8eeM 4 жыл бұрын
Watched the whole thing! :D
@pradeepkumarreddykondreddy7048
@pradeepkumarreddykondreddy7048 Жыл бұрын
How can i play lottie animations in recyclerview items ? If i have to play animation on only item which is visible to user in a horizontal recycler view.
@ФилиппПересветов
@ФилиппПересветов 5 жыл бұрын
Mitch excellent tutorial as always. I only have a question why you choosed aproach with creating PlyerView and putting it to the viewHolder rather than having PlayerView in viewHolder xml? I made similiar variant with one media player for recycler view but with playerView in recycler item xml. It seems much easier.
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Follow your dreams
@sulmanyousaf6545
@sulmanyousaf6545 4 жыл бұрын
can you help me so that at a single time only 1 video view on main page not multiple
@sulmanyousaf6545
@sulmanyousaf6545 4 жыл бұрын
can you help me so that at a single time only 1 video view on main page not multiple
@amitkumardas5650
@amitkumardas5650 5 жыл бұрын
Thank you for this video, Its awesome. I have one question though, and that is about maintaining the state of the video with screen orientation. If in the potrait mode the video starts playing(inside a fragment) and the screen orientation changes to landscape (fragment takes up the whole space, like the youtube app), how to keep the video playing seamlessly. It would be of great help if you can explain this. Thank you again.
@saiteja8822
@saiteja8822 4 жыл бұрын
I watched the whole video thank you
@gohardovlatyan6003
@gohardovlatyan6003 4 жыл бұрын
Thank you very much. Sorry for peeking your youtube recommendations but I like Peterson too ))
@sat_talk
@sat_talk 3 жыл бұрын
Thanks.. but what about full screen?. can we see the video in full screen upon clicking that view of video??????
@shyamlok
@shyamlok 4 жыл бұрын
4-5 hours i watched .. learned a lot man 16:42 . IST
@codingwithmitch
@codingwithmitch 4 жыл бұрын
You cray
@qwerthartu7084
@qwerthartu7084 4 жыл бұрын
thanks for the toturial sir can I request if you can make a toturial playing a videos from firebase in a recyclerview like this? I really need to learn this sir hope you can read this thanks
@webdiva8099
@webdiva8099 4 жыл бұрын
Is there a way to cache the videos so that when user go backs to play the previous videos they do not experience loading? Anyway thanks for the great tutorial!
@pradeepdreamstech4961
@pradeepdreamstech4961 5 жыл бұрын
i make linearLayoutManager.scrollToPositionWithOffset(2, 0) in activity then can i play 2 position video auto play first how to
@yachikajoshi9586
@yachikajoshi9586 4 жыл бұрын
Thank you so much for this tutorial sir. I implemented this in my application and works like pro..😄. But I need to implement this in my new project, I searched a lot but didn't found anything. Instead of LineaLayoutManager I am using StaggeredGridLayout and I am the hell confused that how I am gonna achieve this same thing on this grid layout. Please help😟
@iRYO400
@iRYO400 4 жыл бұрын
Thank you for such cool tutorial, awesome start at using Exo + RV. I've found black flickering when adding or removing VideoSurface, do you know how to fix it?
@webdiva8099
@webdiva8099 3 жыл бұрын
Did you fix it?
@iRYO400
@iRYO400 3 жыл бұрын
@@webdiva8099 Actually, I don't remember, mby I'd fixed it or postponed because of priorities
@webdiva8099
@webdiva8099 3 жыл бұрын
@@iRYO400 Can you please check? It's the only issue that I have right now...
@187fsfjhskjsfksfghsk7
@187fsfjhskjsfksfghsk7 4 жыл бұрын
Hello, Nice video. But does this also works with the Android Architecture Component like Paging Library where the RecyclerViewAdapter extends the PagedListAdapter ?
@cryptone-5440
@cryptone-5440 3 жыл бұрын
Can this tutorial be continued by making the screen big? I'm trying to make it with the interface in recyclerview
@juandavidburbanoruiz7073
@juandavidburbanoruiz7073 2 жыл бұрын
Hello, I am from Colombia, how are you, could you help me with a question, how do I play the first video that is loaded in the recycler without having to scroll. thank you very much your video is very good.
@andrewparker7603
@andrewparker7603 5 жыл бұрын
Awesome!
@barakerzeonlist4608
@barakerzeonlist4608 5 жыл бұрын
Thank you good work
@yashjain6493
@yashjain6493 5 жыл бұрын
Mitch I have a challenge for you build a youtube clone with firebase as a back end
@munnapatel809
@munnapatel809 4 жыл бұрын
Hey..! First of all i want to say your video is too good... Really a great Job. But i gonna request you. Please make the another video based on Viewpager2. Use Exoplayer in Viewpager2 auto Play video like tik tok.. really i search every where not get solution... I highly request you... please make on this topic...
@mohitsingh4765
@mohitsingh4765 5 жыл бұрын
Hello sir can you help me . we needed without scrolling recyclerview autoplay exopler in android
@pooryadehghanberenji4661
@pooryadehghanberenji4661 4 жыл бұрын
i watched the whole things :) thanks man
@codingwithmitch
@codingwithmitch 4 жыл бұрын
You crazy
@InPic
@InPic 4 жыл бұрын
Is it possible to add ViewPager2 in Main activity and use the recycler view so that videos are playing one after one after one page scroll in view pager ????????????
@InPic
@InPic 4 жыл бұрын
i did it
@nicoladellino8124
@nicoladellino8124 Жыл бұрын
Very nice video, THX.
@yongjung5433
@yongjung5433 5 жыл бұрын
watched it all! Seoul Korea 16:30
@MisterWealth
@MisterWealth 2 жыл бұрын
18:22 If I were to type this out it would take 10---to 15---------minutes. Strong flex, that would take me 10-15 days.
@sagarghare9829
@sagarghare9829 4 жыл бұрын
I watch this full. Can you please suggest to me how to do this with multiple layouts? multiple recyclerview layout.
@erikmizanno7161
@erikmizanno7161 4 жыл бұрын
i watched the whole thing mitch.., but unfortunately media resources arent form database like firebase or firestore.. it no use when media just 4 or 5 items limited to resources java that we put when built the app
@InPic
@InPic 4 жыл бұрын
i watched the whole thing love from india : )
@user-wq8yo7nh8d
@user-wq8yo7nh8d 5 жыл бұрын
Thank you so much for sharing, but there is still a question, when the exoplayer loads at the beginning , there will be a blink which is not good for users.And I see youtube or other app there's not blink.Does anyone have good idea?
@sonusaini-sz2sf
@sonusaini-sz2sf 4 жыл бұрын
This is Cool 😎👍 but sir I want to know how do Facebook Instagram autoplay video in recyclerview they used exo player or otherwise any other media like videoview or textureview plz sir can you do this functionality in recyclerview like Facebook instagram.hopefully you can do it sir. Thanks and good luck plz do this functionality in recyclerview
@feel4724
@feel4724 2 жыл бұрын
eveything is working fine but there is only one video showing .. not allowing scrolling ... Please Reply
@ravronz9677
@ravronz9677 5 жыл бұрын
Awesome
@rajivkumargupta8467
@rajivkumargupta8467 4 жыл бұрын
Awesome sir...
RecyclerView (Kotlin Beginner Example)
39:22
CodingWithMitch
Рет қаралды 71 М.
iOS Development is Easier than Android Development (VLOG)
20:41
CodingWithMitch
Рет қаралды 52 М.
Worst flight ever
00:55
Adam W
Рет қаралды 39 МЛН
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 72 МЛН
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 119 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 21 МЛН
RecyclerView
22:26
CodingWithMitch
Рет қаралды 307 М.
How to Build & Publish An Android Library
20:09
Philipp Lackner
Рет қаралды 50 М.
VideoView In Android - Load Video in Android
8:27
Codes Easy
Рет қаралды 19 М.
How to optimize media streaming with ExoPlayer
21:58
Android Developers
Рет қаралды 26 М.
Advice from a Principal Software Engineer at Amazon (Steve Huynh)
22:45
Worst flight ever
00:55
Adam W
Рет қаралды 39 МЛН