Video Player
Methods
The Mediaflow player exposes public methods that let you trigger actions or UI changes. These differ from getters/setters because they perform behaviors rather than reading or writing properties.
How to use methods
var mediaflowplayer = new MFPlayer('#myplayer', '28AFLTPJOS', {
displayLanguage: 'en'
});
// Enable caption settings
mediaflowplayer.enableCaptionSettings();All methods
Property | Description |
|---|---|
enableCaptionSettings | Makes the caption settings accessible via the settings menu. Allows the user to configure the look and feel of subtitles. |
disableCaptionSettings | Removes the caption settings menu option from the settings menu. |