Skip to content

chenjunpu/SpotifyLoginVideo

Repository files navigation

Spotify Login Demo

have an video in background

##DEMO: image ##How to use 1.Add the JCVideoController to your project.

2.Create a view controller that inherits from JCVideoController

3.Must set videoURL before super.viewDidLoad()

override func viewDidLoad() {
        self.url = NSURL.fileURLWithPath(NSBundle.mainBundle().pathForResource("m", ofType: "mp4")!)
        
        super.viewDidLoad()

    }

4.you can addSubview in contendView:

//        add loginBtn
        self.contentView.addSubview(loginBtn)
//        add signUpBtn
        self.contentView.addSubview(signUpBtn)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages