Releases: dingwilson/SwiftVideoBackground
Releases · dingwilson/SwiftVideoBackground
3.3.0
3.2.0
Added configurable videoGravity, caching, and thumbnail image
3.1.0
- Updated to support Swift 4.2
3.0.0
BREAKING CHANGES:
- Removed support for passing in multiple videos to play one after another
- Renamed
alpha
todarkness
- Removed non-throwing
play()
. Use the throwingplay()
instead.
Features:
- Added a singleton called
shared
. Now users don't need to retain an instance ofVideoBackground
to play a video.- Users can still create new instances if needed, i.e. if needed to play multiple videos simultaneously.
- Add support for playing video from a local or remote URL
- Add APIs for pause, restart, resume, darkness, isMuted, & willLoopVideo
- Make
playerLayer
public to allow advanced control and customization - Add
setAudioSessionAmbient
toplay
. Set totrue
by default.
Fixes:
- Add clean up code to
play()
, so multiple calls to it should work smoothly
2.1.0: Merge pull request #43 from dingwilson/cooca-pods
- Added a singleton called
shared
. Now users don't need to retain an instance ofVideoBackground
to play a video.- Users can still create new instances if needed, i.e. if they needed to play multiple videos simultaneously.
- Added throwing APIs that throw a
videoNotFound
error that returns the video name and type in question. - Added deprecation warning for old API.
- Added new public struct
VideoInfo
that contains a video's name and type. - Added new API that takes in an array of
VideoInfo
, and plays them in sequence. - Added some clean up code that gets called on each play(), in an attempt to reset state in the event of multiple calls to
play()
.
2.0.4
Fixed layout issues for alpha overlay when device orientation changed
2.0.3
Fixed layout issues when device orientation changed
Fixed issues with images in README not showing up in Cocoapods/Jazzy docs
2.0.2
Added observer to handle application state transition back to foreground
2.0.1
Fixed podspec documentation issue
2.0.0
BREAKING CHANGES