Skip to content

Commit

Permalink
ViewController, have sample project loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Piemonte committed Nov 27, 2014
1 parent 0b934f7 commit 969a895
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Project/Player/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ class ViewController: UIViewController, PlayerDelegate {

self.player.path = ViewControllerVideoPath

self.player.playbackLoops = true

var tapGestureRecognizer: UITapGestureRecognizer = UITapGestureRecognizer(target: self, action: "handleTapGestureRecognizer:")
tapGestureRecognizer.numberOfTapsRequired = 1
self.player.view.addGestureRecognizer(tapGestureRecognizer)
Expand Down

0 comments on commit 969a895

Please sign in to comment.