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

preface

The new version of vplayer is transferred from design to development, and the development cycle is expected to be one month, which also means that the new version of vitamio will be released. Developers can develop other functions first like this series of articles. The content of this chapter is "online video playlist", which collects the mobile version of major mainstream video websites. Welcome to give feedback and improvement suggestions to "start broadcasting video"!

Series

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

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

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

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

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

text

I. objectives

Integrate the mobile version of major video websites, screenshot:

II. Implementation code

Code Description:

A). The 3G version of mainstream websites provides MP4 format playback links, which can be integrated here.

B) to handle the back event, press the back key. You should first handle the web page of WebView and jump to the previous page. C) clear the history and prevent going back to other websites when switching video websites.

Other code reference project source code.

III. other update logs

New: the new logo is enabled

Repair: automatically close the window after playing

Fix: error switching between local video and online video

end

Remind all developers again that if you use vitamio to play problematic videos, please use the latest version of vplayer for testing. If there is no problem, the new version of vitamio will not have a problem.

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
分享
二维码
< <上一篇
下一篇>>