-
Notifications
You must be signed in to change notification settings - Fork 4
/
MPSubMoviePlayerController.h
33 lines (28 loc) · 1.16 KB
/
MPSubMoviePlayerController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// MPSubMoviePlayerController.h
// SubPlayerTest
//
// Created by Jack on 1/8/13.
// Copyright (c) 2013 Clunet. All rights reserved.
//
#import <MediaPlayer/MediaPlayer.h>
#import "SFSubtitleController.h"
#import "MPPlaybackControlsViewController.h"
@protocol MPMediaPlayback;
//------------------------------------------------------------------------------
@interface MPSubMoviePlayerController : MPMoviePlayerController
@end
//------------------------------------------------------------------------------
#pragma mark Subtitle Category
@interface MPSubMoviePlayerController(Subtitle) <SFSubtitleClock>
@property (nonatomic, readonly) SFSubtitleController* subtitleController;
@property (nonatomic) BOOL showSubtitle;
- (void) loadSubtitleFromFile: (NSString*) subPath
forLanguage: (NSString*) languageCode;
@end
//------------------------------------------------------------------------------
#pragma mark Playback Controls
@interface MPSubMoviePlayerController(PlaybackControls) <MPPlaybackControlsDelegate>
@property (nonatomic, readonly) MPPlaybackControlsViewController* playControlsViewController;
@property (nonatomic) BOOL showControls;
@end