Skip to content

Releases: dingwilson/SwiftVideoBackground

3.3.0

14 Apr 16:04
709c0e5
Compare
Choose a tag to compare
3.3.0 (#81)

3.2.0

18 Feb 14:39
Compare
Choose a tag to compare

Added configurable videoGravity, caching, and thumbnail image

3.1.0

23 Oct 03:06
Compare
Choose a tag to compare
  • Updated to support Swift 4.2

3.0.0

27 Feb 02:00
Compare
Choose a tag to compare

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

2.1.0: Merge pull request #43 from dingwilson/cooca-pods

19 Feb 23:14
f7e2077
Compare
Choose a tag to compare
  • 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 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

16 Feb 19:10
Compare
Choose a tag to compare

Fixed layout issues for alpha overlay when device orientation changed

2.0.3

15 Feb 06:09
Compare
Choose a tag to compare

Fixed layout issues when device orientation changed
Fixed issues with images in README not showing up in Cocoapods/Jazzy docs

2.0.2

14 Feb 21:38
Compare
Choose a tag to compare

Added observer to handle application state transition back to foreground

2.0.1

30 Jan 17:57
Compare
Choose a tag to compare

Fixed podspec documentation issue

2.0.0

14 Dec 22:43
51a0b9c
Compare
Choose a tag to compare

BREAKING CHANGES