Telegram Web K with changes to work inside I2P https://web.telegram.i2p/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
408 B

import IS_MOV_SUPPORTED from './movSupport';
export type VIDEO_MIME_TYPE = 'image/gif' | 'video/mp4' | 'video/webm' | 'video/quicktime';
const VIDEO_MIME_TYPES_SUPPORTED: Set<VIDEO_MIME_TYPE> = new Set([
'image/gif', // have to display it as video
'video/mp4',
'video/webm'
]);
if(IS_MOV_SUPPORTED) {
VIDEO_MIME_TYPES_SUPPORTED.add('video/quicktime');
}
export default VIDEO_MIME_TYPES_SUPPORTED;