Latest 0.1
License MIT
Platforms ios 10.0, tvos 10.0
Frameworks Foundation

An easy way to add background videos in loop to your login screen




  • Swift 4.1 or higher
  • iOS 10.0 or higher
  • tvOS 10.0 or higher


  • Supports iOS and tvOS
  • 3 lines of code to integrate in your app
  • +/- 100 lines of Swift code



CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate Webhose into your Xcode project using CocoaPods, add to your Podfile:

pod 'Cover', '0.1'

Then, run the following command:

$ pod install


We provide a sample app where you can see how to use the library.

There are three lines of code you need to add:

1. Import the Framework

import Cover

2. Declare a reference to the player in your View Controller

var player: Player?

3. Instantiate and add the player to the view in your viewDidLoad method

override func viewDidLoad() {
    player = view.add(videoName: "Video.mp4", alpha: 0.5)

The videoName is the name of the video that you have included in your app target.

Latest podspec

    "name": "Cover",
    "version": "0.1",
    "summary": "Cover",
    "description": "An easy way to add background videos in loop to your login screen",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Tiago Martinho": "[email protected]"
    "social_media_url": "",
    "platforms": {
        "ios": "10.0",
        "tvos": "10.0"
    "source": {
        "git": "",
        "tag": "0.1"
    "source_files": "Sources/**/*",
    "frameworks": "Foundation",
    "swift_version": "4.1"

Pin It on Pinterest

Share This