This is a project designed to help controlling Android MediaPlayer class. It makes it easier to use MediaPlayer ListView and RecyclerView. Also it tracks the most visible item in scrolling list. When new item in the list become the most visible, this library gives an API to track it.
3.15k
stars
747
forks
source link
How can video urls of youtube and vimeo can be played using this library. #29
I am getting this error when I try to play a youtube video using this library.
java.lang.RuntimeException: java.io.IOException: setDataSource failed.
at com.volokh.danylo.video_player_manager.ui.VideoPlayerView.setDataSource(VideoPlayerView.java:263)
I am passing the youtube url www.youtube.com/embed/GYFDRoJtfGM?wmode=opaque&autoplay=1
but it is not working then which url do I need to pass in order to get this working. I want to play videos from vimeo also as same issue is coming when I play vimeo videos also.
I am getting this error when I try to play a youtube video using this library.
I am passing the youtube url
www.youtube.com/embed/GYFDRoJtfGM?wmode=opaque&autoplay=1
but it is not working then which url do I need to pass in order to get this working. I want to play videos from vimeo also as same issue is coming when I play vimeo videos also.