Skip to content

use surfaceview and mediaplayer to play local and net video

License

Notifications You must be signed in to change notification settings

peterforme/VideoPlayDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VideoPlayDemo

use surfaceview and mediaplayer to play local and net video

this demo can play local video and video in network , if the video is in network , then it will download the video in another thread , when finished the video will be played automatically.

Progress is shown when playing , and you can pull the progressbar to any position.

When clicked, the play button can show/hide.

When pressing Home key, it will save the position . And when comeback , the video will be played from the position where you paused.

image image

About

use surfaceview and mediaplayer to play local and net video

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages