2016-12-23 16:26:22 +08:00
|
|
|
import Storage from '/imports/ui/services/storage/session';
|
|
|
|
|
|
|
|
getClosedCaptionSettings = () => {
|
|
|
|
let ccSettings = {};
|
|
|
|
let ccEnabled = Storage.getItem('closedCaptions');
|
2016-12-24 02:49:17 +08:00
|
|
|
ccSettings.ccEnabled = !!ccEnabled;
|
2016-12-23 16:26:22 +08:00
|
|
|
|
|
|
|
return ccSettings;
|
2017-04-20 04:52:50 +08:00
|
|
|
};
|
2016-12-23 16:26:22 +08:00
|
|
|
|
|
|
|
export default {
|
|
|
|
getClosedCaptionSettings,
|
|
|
|
};
|