Skip to content

Commit

Permalink
Fix merge problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Isaza committed Mar 7, 2016
1 parent 7eb58dd commit 9582f4a
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions C4/UI/Movie.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,21 +103,6 @@ public class Movie: View {
}
}

/// Mute/Unmute the audio track.
///
/// The default value of this property is `false`.
public var muted: Bool {
get {
guard let p = player else {
return false
}
return p.muted
}
set {
player?.muted = newValue
}
}

var movieLayer: PlayerLayer {
get {
return self.movieView.movieLayer
Expand Down Expand Up @@ -193,7 +178,7 @@ public class Movie: View {
movieLayer.videoGravity = AVLayerVideoGravityResize

originalSize = self.size

// unmute
muted = false
}
Expand Down Expand Up @@ -245,7 +230,7 @@ public class Movie: View {
p.seekToTime(CMTimeMake(0, 1))
p.pause()
}

/// The action to perform at the end of playback.
///
/// - parameter action: A block of code to execute at the end of playback.
Expand Down

0 comments on commit 9582f4a

Please sign in to comment.