I'm trying to load a video using your library from within a ViewPager fragment. I'm pretty much following the same on the readme but I'm getting the error mentioned above while doing:
This is just for testing, what I really want to be able to do is save a reference of mediaPlayer or something, so I can call mediaPlayer.start() when my fragment is visible to the user on a different method, but that's on me.
I'm trying to load a video using your library from within a ViewPager fragment. I'm pretty much following the same on the readme but I'm getting the error mentioned above while doing:
This is just for testing, what I really want to be able to do is save a reference of mediaPlayer or something, so I can call mediaPlayer.start() when my fragment is visible to the user on a different method, but that's on me.