Skip to content

Commit 9582f4a

Browse files
author
Alejandro Isaza
committed
Fix merge problem
1 parent 7eb58dd commit 9582f4a

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

Diff for: C4/UI/Movie.swift

+2-17
Original file line numberDiff line numberDiff line change
@@ -103,21 +103,6 @@ public class Movie: View {
103103
}
104104
}
105105

106-
/// Mute/Unmute the audio track.
107-
///
108-
/// The default value of this property is `false`.
109-
public var muted: Bool {
110-
get {
111-
guard let p = player else {
112-
return false
113-
}
114-
return p.muted
115-
}
116-
set {
117-
player?.muted = newValue
118-
}
119-
}
120-
121106
var movieLayer: PlayerLayer {
122107
get {
123108
return self.movieView.movieLayer
@@ -193,7 +178,7 @@ public class Movie: View {
193178
movieLayer.videoGravity = AVLayerVideoGravityResize
194179

195180
originalSize = self.size
196-
181+
197182
// unmute
198183
muted = false
199184
}
@@ -245,7 +230,7 @@ public class Movie: View {
245230
p.seekToTime(CMTimeMake(0, 1))
246231
p.pause()
247232
}
248-
233+
249234
/// The action to perform at the end of playback.
250235
///
251236
/// - parameter action: A block of code to execute at the end of playback.

0 commit comments

Comments
 (0)