playable
Version:
Video player based on HTML5Video
35 lines (32 loc) • 1.6 kB
text/typescript
import { TextLabel } from '../../constants';
import { ITextMapConfig } from './types';
const map: ITextMapConfig = {
[]: 'Watch on site',
[]: 'Watch On Site',
[]: ({ isEnded }) =>
!isEnded ? 'Live' : 'Live Ended',
[]: 'Sync to live',
[]: 'Sync to Live',
[]: 'Pause',
[]: 'Play',
[]: 'Progress control',
[]: ({ percent }) =>
`Already played ${percent}%`,
[]: 'Mute',
[]: 'Mute',
[]: 'Unmute',
[]: 'Unmute',
[]: 'Volume control',
[]: ({ volume }) => `Volume is ${volume}%`,
[]: 'Enter full screen',
[]: 'Enter Full Screen',
[]: 'Exit full screen',
[]: 'Exit Full Screen',
[]: 'Play Picture-in-Picture',
[]: 'Play Picture-in-Picture',
[]: 'Exit Picture-in-Picture',
[]: 'Exit Picture-in-Picture',
[]: 'Download video',
[]: 'Download Video',
};
export default map;