File tree 1 file changed +2
-17
lines changed
1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -103,21 +103,6 @@ public class Movie: View {
103
103
}
104
104
}
105
105
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
-
121
106
var movieLayer : PlayerLayer {
122
107
get {
123
108
return self . movieView. movieLayer
@@ -193,7 +178,7 @@ public class Movie: View {
193
178
movieLayer. videoGravity = AVLayerVideoGravityResize
194
179
195
180
originalSize = self . size
196
-
181
+
197
182
// unmute
198
183
muted = false
199
184
}
@@ -245,7 +230,7 @@ public class Movie: View {
245
230
p. seekToTime ( CMTimeMake ( 0 , 1 ) )
246
231
p. pause ( )
247
232
}
248
-
233
+
249
234
/// The action to perform at the end of playback.
250
235
///
251
236
/// - parameter action: A block of code to execute at the end of playback.
You can’t perform that action at this time.
0 commit comments