Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blommegard/HSPlayer
A very simple video player implementation for iOS, powered by AVFoundation
https://github.com/blommegard/HSPlayer
Last synced: 3 months ago
JSON representation
A very simple video player implementation for iOS, powered by AVFoundation
- Host: GitHub
- URL: https://github.com/blommegard/HSPlayer
- Owner: blommegard
- License: mit
- Created: 2011-11-26T04:48:43.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2014-01-16T19:49:14.000Z (about 11 years ago)
- Last Synced: 2024-11-15T09:12:15.139Z (3 months ago)
- Language: Objective-C
- Homepage:
- Size: 180 KB
- Stars: 49
- Watchers: 3
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
# HSPlayer
This is a simple video player built using AVFoundation with a deoplyment target of 4.0
Built just for fun and as a good reference of a clean player implementation.Interface:
```objective-c
@property (nonatomic, strong, readonly) AVPlayer *player;// Start player by setting the URL
@property (nonatomic, copy) NSURL *URL;@property (nonatomic, assign) BOOL playing;
@property (nonatomic, assign) BOOL controlsVisible;
- (void)setControlsVisible:(BOOL)controlsVisible animated:(BOOL)animated;// Hides statusBar if true, defaults to YES
@property (nonatomic, assign) BOOL fullScreen;
```## License
HSPlayer is released under the MIT-license (see the LICENSE file)