All notable changes to this project will be documented in this file.
6.1.2 - 2020-09-22
- Resize Button appears outside of the player bounds if the player does not fill the entire width of the parent and the
resizeClosure
is not set
6.1.0 - 2019-10-07
currentTime
property toASPVideoPlayer
.
6.0.0 - 2019-04-25
- Updated to Swift 5 by Roman Gille in Pull Request #42
5.0.2 - 2018-10-03
- Updated to Swift 4.2
4.2.0 - 2018-07-04
- New methods to
ASPVideoPlayerViewDelegate
for controls visibility.
- Added missing delegate calls for
error(:)
inASPVideoPlayerView
.
4.1.0 - 2018-07-01
- Ability to play video sound in background for
ASPVideoPlayer
andASPVideoPlayerView
. - Delegate to
ASPVideoPlayer
to handle events.
4.0.0 - 2018-03-17
buttonState
return value forPlayPauseButton
andResizeButton
.buttonState
updating UI forPlayPauseButton
.buttonState
updating UI forResizeButton
.- Animation for
ResizeButton
state change. - Deallocation delay caused by
perform(selector:afterDelay:)
onASPVideoPlayer
- Ability to set the controls of
ASPVideoPlayer
as initially hidden. - Property to set
preferredRate
for bothASPVideoPlayer
andASPVideoPlayerView
ASPVideoPlayer
properties are grouped in aConfiguration
structure.ASPVideoPlayer
next and previous actions to wrap around.
3.1.0 - 2017-12-23
buttonState
onPlayPauseButton
setting the opposite state.buttonState
updating on video player state change using the default controls.- Autohide delay for the resize action.
startPlayingWhenReady
property toASPVideoPlayer
3.0.1 - 2017-10-05
- Length label positioning.
- Resize button not disappearing when closure is not set.
3.0.0 - 2017-09-17
- Resize button with callback.
- Ability to use
AVAssets
to set videos. - Delay for loader animation.
VideoPlayerView
rotation.
- Updated to Swift 4.
- Updated UI Tests.
- Internal player logic to not create a separate
AVPlayer
for each video
- Strong references to
self
in closures.
2.0.2 - 2017-04-13
- Updated UI Tests.
- Strong references to
self
in closures. - Fixed by Rob Phillips in Pull Request #8
2.0.1 - 2016-12-18
- UI Tests.
- More Unit Tests.
- Image to README.
- Access for some variables and functions from
fileprivate
tointernal
.
2.0.0 - 2016-12-16
- Video control UI items (Buttons, Scrubber, Loader).
ASPVideoPlayer
implementation as a full video player with controls.ASPVideoPlayer
Example for the full video player (Set as the default ViewController in the Storyboard).- Code comments.
- Renamed existing
ASPVideoPlayer
toASPVideoPlayerView
. - Updated
ASPVideoPlayerControls
implementation and UI.
- Unused methods throughout the Example.
1.2.0 - 2016-10-13
- Second local video resource.
- Example in code for switching videos.
- More unit tests to improve code coverage.
- More code comments.
- TravisCI setting to fix the failing CI Builds.
- Failing unit tests.
- Unnecessary CGD usage.