Skip to content

sjehutch/SwiftBackgroundVideo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

SwiftBackgroundVideo

Add background videos to your iOS project. Created by lucasjgordon.

Basic Usage

Add Video.swift to your project, along with any video files that you want to use.

Use the following line in the relevant view controller to display a background video. Pass a reference to the current view, along with the name of the video file.

Video.add(self.view, name: "movie.mov")

You can also use the optional overlay parameter, which adds a layer above the video with the alpha set at the specified value.

Video.add(self.view, name: "movie.mov", overlay: 0.5)

About

Add background videos to your iOS project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages