SwiftVideoBackground v2.0.0 Release Notes

Release Date: 2017-12-14 // over 6 years ago
  • 🚀 Major Release: BREAKING CHANGES

    • 📦 renamed class from BackgroundVideo to VideoBackground for consistency with package name
    • class is no longer a subclass of UIView
      • instantiate an instance simply with let videoBackground = VideoBackground()
    • only one API is exposed, play(). play() requires a UIView passed in. It will play your video on this view. Typical usage would just be to pass in the UIView class property of your UIViewController.

    📚 For more information, please see the documentation

    👀 For an example and help with migrating from previous versions, please see the [migration guide](migration-2.0.0.md)