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
alphatodarkness - Removed non-throwing
play(). Use the throwingplay()instead.
Features:
- Added a singleton called
shared. Now users don't need to retain an instance ofVideoBackgroundto 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
playerLayerpublic to allow advanced control and customization - Add
setAudioSessionAmbienttoplay. Set totrueby 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 ofVideoBackgroundto 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
videoNotFounderror that returns the video name and type in question. - Added deprecation warning for old API.
- Added new public struct
VideoInfothat 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