From 9582f4aab6efd7e4343b6437f31fe12ea81a87dd Mon Sep 17 00:00:00 2001 From: Alejandro Isaza Date: Mon, 7 Mar 2016 14:59:40 -0800 Subject: [PATCH] Fix merge problem --- C4/UI/Movie.swift | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/C4/UI/Movie.swift b/C4/UI/Movie.swift index 966c2bca..19ff3402 100644 --- a/C4/UI/Movie.swift +++ b/C4/UI/Movie.swift @@ -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 @@ -193,7 +178,7 @@ public class Movie: View { movieLayer.videoGravity = AVLayerVideoGravityResize originalSize = self.size - + // unmute muted = false } @@ -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.