Android Tv Play Video From Url
I would like to play a MP4 video from a URL in my Android TV app. I couldn't find an example in the Sample code (https://github.com/googlesamples/androidtv-Leanback). Does anyone k
Solution 1:
The androidtv-Leanback example already includes video playback.
If you take a look at the PlaybackOverlayActivity, you will see that the VideoView
class is used to play sample videos (you can find the documentation here).
However, there is no standard component in the Leanback support library, so you will have to define an Activity yourself.
Post a Comment for "Android Tv Play Video From Url"