OOOoyalaPlayer(ClosedCaptions) Category Reference

#import <OOOoyalaPlayer+ClosedCaptions.h>

Instance Methods

(void) - disablePlaylistClosedCaptions
 Disables the CC in the HLS Playlist. More...
 
(NSArray *) - availableClosedCaptionsLanguages
 Get the available closed captions languages. More...
 
(NSString *) - languageNameToLanguageCode:
 Get the short code from the natural language name. More...
 

Method Documentation

- (NSArray *) availableClosedCaptionsLanguages

Get the available closed captions languages.

Returns
an NSArray containing the available closed captions languages as NSStrings

Extends class OOOoyalaPlayer.

- (void) disablePlaylistClosedCaptions

Disables the CC in the HLS Playlist.

Extends class OOOoyalaPlayer.

- (NSString*) languageNameToLanguageCode: (NSString *)  name

Get the short code from the natural language name.

Example: name="english", code="en".

Parameters
nameis the long name, from availableClosedCaptionsLanguages.
Returns
the short cc code. If the reverse mapping fails, the original name parameter value is returned.

Extends class OOOoyalaPlayer.


The documentation for this category was generated from the following file: