SwiftVideoBackground v2.1.0 Release Notes
Release Date: 2018-02-19 // about 6 years ago-
(2018-02-19)
- ➕ 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()
.
- ➕ Added a singleton called