SwiftVideoBackground v3.0.0 Release Notes

Release Date: 2018-02-27 // about 6 years ago
  • (2018-02-26)

    ๐Ÿ’ฅ BREAKING CHANGES:

    • โœ‚ Removed support for passing in multiple videos to play one after another
    • ๐Ÿ“‡ Renamed alpha to darkness
    • โœ‚ Removed non-throwing play(). Use the throwing play() instead.

    ๐Ÿ”‹ Features:

    • โž• Added a singleton called shared. Now users don't need to retain an instance of VideoBackground 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 to play. Set to true by default.

    ๐Ÿ›  Fixes:

    • โž• Add clean up code to play(), so multiple calls to it should work smoothly