A simple video player demo based on AVFoundation
- Player rotate keep pace with device rotation.
- Both local resource and web resource video file are available.
- Left half of screen sliding for brightness control, the other part for volume control, sliding horizontally for playback control.
- Play list, also you can configure whether to continuously play next video item.
- Player skin configuration.
- Local storage for files and cache web resource.
- iOS 8 or later
- Firstly, import
JMPlayer.h
- Then, create a
JMPlayer
instance with NSArray/NSMutableArray as a parameter which contains object implementJMPlayerItemProtocol
. For more information about it, see example code at demo.
A great deal #^_^#