Best way to play a Video file?

后端 未结 1 1324
日久生厌
日久生厌 2021-01-20 17:02

I have a URL for a video file which I need to play using the native Video-player of the handset.
I figured using Intent.ACTION_VIEW and setting the URI as I

相关标签:
1条回答
  • 2021-01-20 17:43

    Note: Writing a standalone Video Player for our app is NOT an option we can afford at the moment.

    First, the video player is not part of the SDK, and relying upon it is a big mistake, as you have already discovered.

    Second, creating a simple video player takes about 40 lines of code, and you have already spent more time trying to avoid writing those 40 lines of code that it would have taken just to write the lines in the first place.

    0 讨论(0)
提交回复
热议问题