Android uses vitamio to build its own universal player (8) — detail optimization

preface

Successful products often achieve perfection in details. From the perspective of use, the biggest difference between products and projects is the handling of details. The goal of launching the video is the product. The previous seven articles have made great progress and added a lot of functions. It's also time to stop and have a rest and optimize. You're also welcome to exchange feedback where it's not done well. Due to open source, you can also add and modify different functions and details according to your preferences.

series

1. Android uses vitamio to build its own universal player (1) -- ready

2. Android uses vitamio to build its own universal player (2) - gesture to control brightness, volume and zoom

3. Android uses vitamio to build its own universal player (3) - local playback (main interface, video list)

4. Android uses vitamio to build its own universal player (4) - local playback (fast search, data storage)

5. Android uses vitamio to build its own universal player (5) -- online play (play Youku Video)

6. Android uses vitamio to build its own universal player (6) - online play (playlist)

7. Android uses vitamio to build its own universal player (7) - play online (download video)

text

I. update log

1. Add: displays the remaining space of the sdcard

If the SD card has limited capacity and often downloads videos, pay more attention to the remaining space. As shown in the figure:

The code is found on the Internet and used in the project:

2. Improvement: display loading effect when loading web pages

Before the change, every time you enter the web page, a blank will be displayed after loading, and the experience is poor.

3. Improvement: the problem of backward confusion when the online video column is switched between multiple websites

The default forward and backward function of WebView was used before the change. It was found that there would still be backward confusion after switching. Note that clearhistory cannot clear the current URL. Modify the reference post, here. Note that you need to judge whether the links are the same, that is:

4. Add: displays the URL being loaded

5. Add: delete and rename video files

Basic functions:

6. Fix: unable to close when playing video with WebView

This problem may occur when playing video using the browser's Flash Plug-in.

7. Improvement: download the video and display the corresponding video title name

The downloaded video is a long string of numbers.

III. Download

After this chapter, the code is no longer available for download. Please move to Google Code:

http://code.google.com/p/android-oplayer

Unable to access. Please try the address: https://over140 @Android oplayer. Googlecode. COM / Hg /, see here.

The above is the detailed optimization of Android vitamio development player, which will be supplemented later.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>