Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
f51c6761
Commit
f51c6761
authored
May 15, 2013
by
Felix Paul Kühne
Browse files
movie view: add playback speed slider (close #8639)
prepares buttons for aspect ratio and crop
parent
8df3dab8
Changes
4
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCMovieViewController.h
View file @
f51c6761
...
...
@@ -14,10 +14,13 @@
BOOL
_controlsHidden
;
BOOL
_videoFiltersHidden
;
BOOL
_playbackViewHidden
;
UIActionSheet
*
_subtitleActionSheet
;
UIActionSheet
*
_audiotrackActionSheet
;
float
_currentPlaybackRate
;
NSTimer
*
_idleTimer
;
}
...
...
@@ -51,6 +54,14 @@
@property
(
nonatomic
,
strong
)
IBOutlet
UISlider
*
gammaSlider
;
@property
(
nonatomic
,
strong
)
IBOutlet
UIButton
*
resetVideoFilterButton
;
@property
(
nonatomic
,
strong
)
IBOutlet
UIView
*
playbackView
;
@property
(
nonatomic
,
strong
)
IBOutlet
UIButton
*
playbackButton
;
@property
(
nonatomic
,
strong
)
IBOutlet
UISlider
*
playbackSpeedSlider
;
@property
(
nonatomic
,
strong
)
IBOutlet
UILabel
*
playbackSpeedLabel
;
@property
(
nonatomic
,
strong
)
IBOutlet
UILabel
*
playbackSpeedIndicator
;
@property
(
nonatomic
,
strong
)
IBOutlet
UIButton
*
aspectRatioButton
;
@property
(
nonatomic
,
strong
)
IBOutlet
UIButton
*
cropButton
;
@property
(
nonatomic
,
strong
)
MLFile
*
mediaItem
;
@property
(
nonatomic
,
strong
)
NSURL
*
url
;
...
...
@@ -66,4 +77,7 @@
-
(
IBAction
)
videoFilterToggle
:(
id
)
sender
;
-
(
IBAction
)
videoFilterSliderAction
:(
id
)
sender
;
-
(
IBAction
)
playbackSpeedSliderAction
:(
id
)
sender
;
-
(
IBAction
)
videoDimensionAction
:(
id
)
sender
;
@end
AspenProject/VLCMovieViewController.m
View file @
f51c6761
...
...
@@ -9,6 +9,8 @@
#import "VLCMovieViewController.h"
#import "VLCExternalDisplayController.h"
#define INPUT_RATE_DEFAULT 1000.
@interface
VLCMovieViewController
()
<
UIGestureRecognizerDelegate
>
@property
(
nonatomic
,
strong
)
UIPopoverController
*
masterPopoverController
;
@property
(
nonatomic
,
strong
)
UIWindow
*
externalWindow
;
...
...
@@ -49,6 +51,8 @@
_saturationLabel
.
text
=
NSLocalizedString
(
@"Saturation"
,
@""
);
_gammaLabel
.
text
=
NSLocalizedString
(
@"Gamma"
,
@""
);
self
.
playbackView
.
hidden
=
YES
;
NSNotificationCenter
*
center
=
[
NSNotificationCenter
defaultCenter
];
[
center
addObserver
:
self
selector
:
@selector
(
handleExternalScreenDidConnect
:
)
name:
UIScreenDidConnectNotification
object
:
nil
];
...
...
@@ -91,6 +95,8 @@
if
(
self
.
mediaItem
.
lastPosition
&&
[
self
.
mediaItem
.
lastPosition
floatValue
]
<
0
.
99
)
[
_mediaPlayer
setPosition
:[
self
.
mediaItem
.
lastPosition
floatValue
]];
self
.
playbackSpeedSlider
.
value
=
[
self
_playbackSpeed
];
[
self
_updatePlaybackSpeedIndicator
];
}
-
(
void
)
viewWillDisappear
:(
BOOL
)
animated
...
...
@@ -137,6 +143,10 @@
_videoFilterView
.
hidden
=
_videoFiltersHidden
;
_videoFilterButton
.
alpha
=
0
.
0
f
;
_videoFilterButton
.
hidden
=
NO
;
_playbackView
.
alpha
=
0
.
0
f
;
_playbackView
.
hidden
=
_playbackViewHidden
;
_playbackButton
.
alpha
=
0
.
0
f
;
_playbackButton
.
hidden
=
NO
;
}
void
(
^
animationBlock
)()
=
^
()
{
...
...
@@ -144,17 +154,20 @@
_toolbar
.
alpha
=
alpha
;
_videoFilterView
.
alpha
=
alpha
;
_videoFilterButton
.
alpha
=
alpha
;
_videoFilterButton
.
hidden
=
NO
;
_playbackView
.
alpha
=
alpha
;
_playbackButton
.
alpha
=
alpha
;
};
void
(
^
completionBlock
)(
BOOL
finished
)
=
^
(
BOOL
finished
)
{
if
(
_videoFiltersHidden
)
if
(
_videoFiltersHidden
&&
_playbackViewHidden
)
_controllerPanel
.
hidden
=
_controlsHidden
;
else
_controllerPanel
.
hidden
=
YES
;
_toolbar
.
hidden
=
_controlsHidden
;
_videoFilterView
.
hidden
=
_videoFiltersHidden
;
_videoFilterButton
.
hidden
=
_controlsHidden
;
_playbackView
.
hidden
=
_playbackViewHidden
;
_playbackButton
.
hidden
=
_controlsHidden
;
};
[
UIView
animateWithDuration
:
0
.
3
f
animations
:
animationBlock
completion
:
completionBlock
];
...
...
@@ -283,6 +296,9 @@
-
(
IBAction
)
videoFilterToggle
:(
id
)
sender
{
if
(
!
_playbackViewHidden
)
self
.
playbackView
.
hidden
=
_playbackViewHidden
=
YES
;
self
.
videoFilterView
.
hidden
=
!
_videoFiltersHidden
;
_videoFiltersHidden
=
self
.
videoFilterView
.
hidden
;
self
.
controllerPanel
.
hidden
=
!
_videoFiltersHidden
;
...
...
@@ -314,6 +330,54 @@
[
self
resetIdleTimer
];
}
#pragma mark - playback view
-
(
IBAction
)
playbackSpeedSliderAction
:(
UISlider
*
)
sender
{
double
speed
=
pow
(
2
,
sender
.
value
/
17
.);
float
rate
=
INPUT_RATE_DEFAULT
/
speed
;
if
(
_currentPlaybackRate
!=
rate
)
[
_mediaPlayer
setRate
:
INPUT_RATE_DEFAULT
/
rate
];
_currentPlaybackRate
=
rate
;
[
self
_updatePlaybackSpeedIndicator
];
[
self
resetIdleTimer
];
}
-
(
void
)
_updatePlaybackSpeedIndicator
{
float
f_value
=
self
.
playbackSpeedSlider
.
value
;
double
speed
=
pow
(
2
,
f_value
/
17
.);
NSLog
(
@"raw value %f, speed. %f"
,
f_value
,
speed
);
self
.
playbackSpeedIndicator
.
text
=
[
NSString
stringWithFormat
:
@"%.2fx"
,
speed
];
}
-
(
float
)
_playbackSpeed
{
float
f_rate
=
_mediaPlayer
.
rate
;
double
value
=
17
*
log
(
f_rate
)
/
log
(
2
.);
float
returnValue
=
(
int
)
((
value
>
0
)
?
value
+
.
5
:
value
-
.
5
);
if
(
returnValue
<
-
34
.)
returnValue
=
-
34
.;
else
if
(
returnValue
>
34
.)
returnValue
=
34
.;
_currentPlaybackRate
=
returnValue
;
return
returnValue
;
}
-
(
IBAction
)
videoDimensionAction
:(
id
)
sender
{
if
(
sender
==
self
.
playbackButton
)
{
if
(
!
_videoFiltersHidden
)
self
.
videoFilterButton
.
hidden
=
_videoFiltersHidden
=
YES
;
self
.
playbackView
.
hidden
=
!
_playbackViewHidden
;
_playbackViewHidden
=
self
.
playbackView
.
hidden
;
self
.
controllerPanel
.
hidden
=
!
_playbackViewHidden
;
}
}
#pragma mark -
-
(
void
)
appWillResign
:(
NSNotification
*
)
aNotification
...
...
Resources/VLCMovieViewController~ipad.xib
View file @
f51c6761
...
...
@@ -2,7 +2,7 @@
<archive
type=
"com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB"
version=
"8.00"
>
<data>
<int
key=
"IBDocument.SystemTarget"
>
1296
</int>
<string
key=
"IBDocument.SystemVersion"
>
12E4
0
</string>
<string
key=
"IBDocument.SystemVersion"
>
12E4
7
</string>
<string
key=
"IBDocument.InterfaceBuilderVersion"
>
3084
</string>
<string
key=
"IBDocument.AppKitVersion"
>
1187.39
</string>
<string
key=
"IBDocument.HIToolboxVersion"
>
626.00
</string>
...
...
@@ -117,7 +117,7 @@
<string
key=
"NSFrame"
>
{{51, 303}, {298, 53}}
</string>
<reference
key=
"NSSuperview"
ref=
"753155309"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"
734589612
"
/>
<reference
key=
"NSNextKeyView"
ref=
"
11334779
"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<reference
key=
"IBUIBackgroundColor"
ref=
"8046438"
/>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
...
...
@@ -334,6 +334,7 @@
<string
key=
"NSFrame"
>
{{261, 20}, {44, 44}}
</string>
<reference
key=
"NSSuperview"
ref=
"734589612"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<reference
key=
"IBUIBackgroundColor"
ref=
"8046438"
/>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
...
...
@@ -370,6 +371,7 @@
<string
key=
"NSFrame"
>
{{704, 481}, {44, 44}}
</string>
<reference
key=
"NSSuperview"
ref=
"647120888"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"734589612"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<string
key=
"targetRuntimeIdentifier"
>
IBIPadFramework
</string>
...
...
@@ -561,6 +563,7 @@
<string
key=
"NSFrame"
>
{{8, 151}, {280, 21}}
</string>
<reference
key=
"NSSuperview"
ref=
"11334779"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"437839795"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<bool
key=
"IBUIClipsSubviews"
>
YES
</bool>
...
...
@@ -581,6 +584,7 @@
<string
key=
"NSFrame"
>
{{270, 166}, {18, 19}}
</string>
<reference
key=
"NSSuperview"
ref=
"11334779"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"390045305"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<string
key=
"targetRuntimeIdentifier"
>
IBIPadFramework
</string>
...
...
Resources/VLCMovieViewController~iphone.xib
View file @
f51c6761
...
...
@@ -2,7 +2,7 @@
<archive
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"8.00"
>
<data>
<int
key=
"IBDocument.SystemTarget"
>
1296
</int>
<string
key=
"IBDocument.SystemVersion"
>
12E4
0
</string>
<string
key=
"IBDocument.SystemVersion"
>
12E4
7
</string>
<string
key=
"IBDocument.InterfaceBuilderVersion"
>
3084
</string>
<string
key=
"IBDocument.AppKitVersion"
>
1187.39
</string>
<string
key=
"IBDocument.HIToolboxVersion"
>
626.00
</string>
...
...
@@ -47,6 +47,7 @@
<string
key=
"NSFrameSize"
>
{320, 568}
</string>
<reference
key=
"NSSuperview"
ref=
"191373211"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"831191623"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<object
class=
"NSColor"
key=
"IBUIBackgroundColor"
id=
"597987587"
>
<int
key=
"NSColorSpace"
>
3
</int>
...
...
@@ -115,7 +116,7 @@
<string
key=
"NSFrame"
>
{{20, 199}, {289, 53}}
</string>
<reference
key=
"NSSuperview"
ref=
"731041733"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"2
02327026
"
/>
<reference
key=
"NSNextKeyView"
ref=
"2
95483080
"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<reference
key=
"IBUIBackgroundColor"
ref=
"119528819"
/>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
...
...
@@ -280,7 +281,6 @@
<string
key=
"NSFrame"
>
{{261, 20}, {44, 44}}
</string>
<reference
key=
"NSSuperview"
ref=
"644225698"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"991208409"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<reference
key=
"IBUIBackgroundColor"
ref=
"119528819"
/>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
...
...
@@ -321,7 +321,7 @@
<string
key=
"NSFrame"
>
{{66, 11}, {180, 23}}
</string>
<reference
key=
"NSSuperview"
ref=
"831191623"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"
731041733
"
/>
<reference
key=
"NSNextKeyView"
ref=
"
331977945
"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<string
key=
"NSHuggingPriority"
>
{250, 250}
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
...
...
@@ -538,7 +538,7 @@
<string
key=
"NSFrame"
>
{{20, 156}, {280, 21}}
</string>
<reference
key=
"NSSuperview"
ref=
"202327026"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"
407550068
"
/>
<reference
key=
"NSNextKeyView"
ref=
"
916518907
"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<bool
key=
"IBUIClipsSubviews"
>
YES
</bool>
...
...
@@ -559,6 +559,7 @@
<string
key=
"NSFrame"
>
{{282, 171}, {18, 19}}
</string>
<reference
key=
"NSSuperview"
ref=
"202327026"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"644225698"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
...
...
@@ -587,13 +588,133 @@
</object>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
</object>
<object
class=
"IBUIView"
id=
"331977945"
>
<reference
key=
"NSNextResponder"
ref=
"191373211"
/>
<int
key=
"NSvFlags"
>
293
</int>
<array
class=
"NSMutableArray"
key=
"NSSubviews"
>
<object
class=
"IBUISlider"
id=
"465346123"
>
<reference
key=
"NSNextResponder"
ref=
"331977945"
/>
<int
key=
"NSvFlags"
>
292
</int>
<string
key=
"NSFrame"
>
{{18, 19}, {284, 23}}
</string>
<reference
key=
"NSSuperview"
ref=
"331977945"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"656806791"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
<int
key=
"IBUIContentHorizontalAlignment"
>
0
</int>
<int
key=
"IBUIContentVerticalAlignment"
>
0
</int>
<float
key=
"IBUIMinValue"
>
-17
</float>
<float
key=
"IBUIMaxValue"
>
17
</float>
</object>
<object
class=
"IBUILabel"
id=
"656806791"
>
<reference
key=
"NSNextResponder"
ref=
"331977945"
/>
<int
key=
"NSvFlags"
>
292
</int>
<string
key=
"NSFrame"
>
{{20, 5}, {280, 21}}
</string>
<reference
key=
"NSSuperview"
ref=
"331977945"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"839911785"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<bool
key=
"IBUIClipsSubviews"
>
YES
</bool>
<int
key=
"IBUIContentMode"
>
7
</int>
<bool
key=
"IBUIUserInteractionEnabled"
>
NO
</bool>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
<string
key=
"IBUIText"
>
Playback speed
</string>
<reference
key=
"IBUITextColor"
ref=
"351379376"
/>
<nil
key=
"IBUIHighlightedColor"
/>
<int
key=
"IBUIBaselineAdjustment"
>
0
</int>
<reference
key=
"IBUIFontDescription"
ref=
"316951901"
/>
<reference
key=
"IBUIFont"
ref=
"813016123"
/>
<bool
key=
"IBUIAdjustsFontSizeToFit"
>
NO
</bool>
</object>
<object
class=
"IBUILabel"
id=
"839911785"
>
<reference
key=
"NSNextResponder"
ref=
"331977945"
/>
<int
key=
"NSvFlags"
>
292
</int>
<string
key=
"NSFrame"
>
{{20, 5}, {280, 21}}
</string>
<reference
key=
"NSSuperview"
ref=
"331977945"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"740496141"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<bool
key=
"IBUIClipsSubviews"
>
YES
</bool>
<int
key=
"IBUIContentMode"
>
7
</int>
<bool
key=
"IBUIUserInteractionEnabled"
>
NO
</bool>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
<string
key=
"IBUIText"
>
1.00x
</string>
<reference
key=
"IBUITextColor"
ref=
"351379376"
/>
<nil
key=
"IBUIHighlightedColor"
/>
<int
key=
"IBUIBaselineAdjustment"
>
0
</int>
<int
key=
"IBUITextAlignment"
>
2
</int>
<reference
key=
"IBUIFontDescription"
ref=
"316951901"
/>
<reference
key=
"IBUIFont"
ref=
"813016123"
/>
<bool
key=
"IBUIAdjustsFontSizeToFit"
>
NO
</bool>
</object>
<object
class=
"IBUIButton"
id=
"740496141"
>
<reference
key=
"NSNextResponder"
ref=
"331977945"
/>
<int
key=
"NSvFlags"
>
292
</int>
<string
key=
"NSFrame"
>
{{103, 49}, {116, 44}}
</string>
<reference
key=
"NSSuperview"
ref=
"331977945"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"43104906"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
<int
key=
"IBUIContentHorizontalAlignment"
>
0
</int>
<int
key=
"IBUIContentVerticalAlignment"
>
0
</int>
<int
key=
"IBUIButtonType"
>
1
</int>
<string
key=
"IBUINormalTitle"
>
Aspect Ratio
</string>
<reference
key=
"IBUIHighlightedTitleColor"
ref=
"351379376"
/>
<object
class=
"NSColor"
key=
"IBUINormalTitleColor"
>
<int
key=
"NSColorSpace"
>
1
</int>
<bytes
key=
"NSRGB"
>
MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA
</bytes>
</object>
<reference
key=
"IBUINormalTitleShadowColor"
ref=
"710600961"
/>
<reference
key=
"IBUIFontDescription"
ref=
"838206983"
/>
<reference
key=
"IBUIFont"
ref=
"389950768"
/>
</object>
<object
class=
"IBUIButton"
id=
"43104906"
>
<reference
key=
"NSNextResponder"
ref=
"331977945"
/>
<int
key=
"NSvFlags"
>
292
</int>
<string
key=
"NSFrame"
>
{{131, 100}, {59, 44}}
</string>
<reference
key=
"NSSuperview"
ref=
"331977945"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"731041733"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
<int
key=
"IBUIContentHorizontalAlignment"
>
0
</int>
<int
key=
"IBUIContentVerticalAlignment"
>
0
</int>
<int
key=
"IBUIButtonType"
>
1
</int>
<string
key=
"IBUINormalTitle"
>
Crop
</string>
<reference
key=
"IBUIHighlightedTitleColor"
ref=
"351379376"
/>
<object
class=
"NSColor"
key=
"IBUINormalTitleColor"
>
<int
key=
"NSColorSpace"
>
1
</int>
<bytes
key=
"NSRGB"
>
MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA
</bytes>
</object>
<reference
key=
"IBUINormalTitleShadowColor"
ref=
"710600961"
/>
<reference
key=
"IBUIFontDescription"
ref=
"838206983"
/>
<reference
key=
"IBUIFont"
ref=
"389950768"
/>
</object>
</array>
<string
key=
"NSFrame"
>
{{0, 64}, {320, 154}}
</string>
<reference
key=
"NSSuperview"
ref=
"191373211"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"465346123"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:10
</string>
<object
class=
"NSColor"
key=
"IBUIBackgroundColor"
>
<int
key=
"NSColorSpace"
>
3
</int>
<bytes
key=
"NSWhite"
>
MC42NjY2NjY2NjY3IDAuNwA
</bytes>
</object>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
</object>
<object
class=
"IBUIButton"
id=
"407550068"
>
<reference
key=
"NSNextResponder"
ref=
"191373211"
/>
<int
key=
"NSvFlags"
>
289
</int>
<string
key=
"NSFrame"
>
{{263, 278}, {44, 44}}
</string>
<reference
key=
"NSSuperview"
ref=
"191373211"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"
644225698
"
/>
<reference
key=
"NSNextKeyView"
ref=
"
202327026
"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
...
...
@@ -610,11 +731,34 @@
<reference
key=
"IBUIFontDescription"
ref=
"838206983"
/>
<reference
key=
"IBUIFont"
ref=
"389950768"
/>
</object>
<object
class=
"IBUIButton"
id=
"295483080"
>
<reference
key=
"NSNextResponder"
ref=
"191373211"
/>
<int
key=
"NSvFlags"
>
292
</int>
<string
key=
"NSFrame"
>
{{14, 278}, {45, 44}}
</string>
<reference
key=
"NSSuperview"
ref=
"191373211"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"407550068"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
<int
key=
"IBUIContentHorizontalAlignment"
>
0
</int>
<int
key=
"IBUIContentVerticalAlignment"
>
0
</int>
<int
key=
"IBUIButtonType"
>
1
</int>
<string
key=
"IBUINormalTitle"
>
PB
</string>
<reference
key=
"IBUIHighlightedTitleColor"
ref=
"351379376"
/>
<object
class=
"NSColor"
key=
"IBUINormalTitleColor"
>
<int
key=
"NSColorSpace"
>
1
</int>
<bytes
key=
"NSRGB"
>
MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA
</bytes>
</object>
<reference
key=
"IBUINormalTitleShadowColor"
ref=
"710600961"
/>
<reference
key=
"IBUIFontDescription"
ref=
"838206983"
/>
<reference
key=
"IBUIFont"
ref=
"389950768"
/>
</object>
</array>
<string
key=
"NSFrameSize"
>
{320, 568}
</string>
<reference
key=
"NSSuperview"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"
831191623
"
/>
<reference
key=
"NSNextKeyView"
ref=
"
991208409
"
/>
<reference
key=
"IBUIBackgroundColor"
ref=
"597987587"
/>
<object
class=
"IBUIScreenMetrics"
key=
"IBUISimulatedDestinationMetrics"
>
<string
key=
"IBUISimulatedSizeMetricsClass"
>
IBUIScreenMetrics
</string>
...
...
@@ -862,6 +1006,62 @@
</object>
<int
key=
"connectionID"
>
163
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
playbackButton
</string>
<reference
key=
"source"
ref=
"372490531"
/>
<reference
key=
"destination"
ref=
"295483080"
/>
</object>
<int
key=
"connectionID"
>
189
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
playbackView
</string>
<reference
key=
"source"
ref=
"372490531"
/>
<reference
key=
"destination"
ref=
"331977945"
/>
</object>
<int
key=
"connectionID"
>
190
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
aspectRatioButton
</string>
<reference
key=
"source"
ref=
"372490531"
/>
<reference
key=
"destination"
ref=
"740496141"
/>
</object>
<int
key=
"connectionID"
>
191
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
cropButton
</string>
<reference
key=
"source"
ref=
"372490531"
/>
<reference
key=
"destination"
ref=
"43104906"
/>
</object>
<int
key=
"connectionID"
>
193
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
playbackSpeedSlider
</string>
<reference
key=
"source"
ref=
"372490531"
/>
<reference
key=
"destination"
ref=
"465346123"
/>
</object>
<int
key=
"connectionID"
>
196
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
playbackSpeedIndicator
</string>
<reference
key=
"source"
ref=
"372490531"
/>
<reference
key=
"destination"
ref=
"839911785"
/>
</object>
<int
key=
"connectionID"
>
197
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
playbackSpeedLabel
</string>
<reference
key=
"source"
ref=
"372490531"
/>
<reference
key=
"destination"
ref=
"656806791"
/>
</object>
<int
key=
"connectionID"
>
198
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchEventConnection"
key=
"connection"
>
<string
key=
"label"
>
switchSubtitleTrack:
</string>
...
...
@@ -987,6 +1187,42 @@
</object>
<int
key=
"connectionID"
>
164
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchEventConnection"
key=
"connection"
>
<string
key=
"label"
>
playbackSpeedSliderAction:
</string>
<reference
key=
"source"
ref=
"465346123"
/>
<reference
key=
"destination"
ref=
"372490531"
/>
<int
key=
"IBEventType"
>
13
</int>
</object>
<int
key=
"connectionID"
>
195
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchEventConnection"
key=
"connection"
>
<string
key=
"label"
>
videoDimensionAction:
</string>
<reference
key=
"source"
ref=
"295483080"
/>
<reference
key=
"destination"
ref=
"372490531"
/>
<int
key=
"IBEventType"
>
7
</int>
</object>
<int
key=
"connectionID"
>
188
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchEventConnection"
key=
"connection"
>
<string
key=
"label"
>
videoDimensionAction:
</string>
<reference
key=
"source"
ref=
"740496141"
/>
<reference
key=
"destination"
ref=
"372490531"
/>
<int
key=
"IBEventType"
>
7
</int>
</object>
<int
key=
"connectionID"
>
192
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchEventConnection"
key=
"connection"
>
<string
key=
"label"
>
videoDimensionAction:
</string>
<reference
key=
"source"
ref=
"43104906"
/>
<reference
key=
"destination"
ref=
"372490531"
/>
<int
key=
"IBEventType"
>
7
</int>
</object>
<int
key=
"connectionID"
>
194
</int>
</object>
</array>
<object
class=
"IBMutableOrderedSet"
key=
"objectRecords"
>
<array
key=
"orderedObjects"
>
...
...
@@ -1006,6 +1242,8 @@
<reference
ref=
"731041733"
/>
<reference
ref=
"202327026"
/>
<reference
ref=
"407550068"
/>
<reference
ref=
"295483080"
/>
<reference
ref=
"331977945"
/>
</array>
<reference
key=
"parent"
ref=
"0"
/>
</object>
...
...
@@ -1203,6 +1441,49 @@
<reference
key=
"object"
ref=
"916518907"
/>
<reference
key=
"parent"
ref=
"202327026"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
165
</int>
<reference
key=
"object"
ref=
"331977945"
/>
<array
class=
"NSMutableArray"
key=
"children"
>
<reference
ref=
"656806791"
/>
<reference
ref=
"465346123"
/>
<reference
ref=
"839911785"
/>
<reference
ref=
"740496141"
/>
<reference
ref=
"43104906"
/>
</array>
<reference
key=
"parent"
ref=
"191373211"
/>
<string
key=
"objectName"
>
Controls panel
</string>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
167
</int>
<reference
key=
"object"
ref=
"656806791"
/>
<reference
key=
"parent"
ref=
"331977945"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
168
</int>
<reference
key=
"object"
ref=
"465346123"
/>
<reference
key=
"parent"
ref=
"331977945"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
183
</int>
<reference
key=
"object"
ref=
"295483080"
/>
<reference
key=
"parent"
ref=
"191373211"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
185
</int>
<reference
key=
"object"
ref=
"839911785"
/>
<reference
key=
"parent"
ref=
"331977945"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
186
</int>
<reference
key=
"object"
ref=
"740496141"
/>
<reference
key=
"parent"
ref=
"331977945"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
187
</int>
<reference
key=
"object"
ref=
"43104906"
/>
<reference
key=
"parent"
ref=
"331977945"
/>
</object>
</array>
</object>
<dictionary
class=
"NSMutableDictionary"
key=
"flattenedProperties"
>
...
...
@@ -1228,6 +1509,13 @@
<string
key=
"138.IBPluginDependency"
>
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
</string>
<string
key=
"159.IBPluginDependency"
>
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
</string>