Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
languages
/
wp-content-20241001222009
/
plugins
/
jetpack
/
jetpack_vendor
/
automattic
/
jetpack-videopress
/
src
/
client
/
utils
/
video-extensions
:
index.ts
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
const allowedVideoExtensionsAndMimetypes = window.jetpackVideoPressInitialState?.allowedVideoExtensions || {}; const allowedVideoExtensions = Object.keys( allowedVideoExtensionsAndMimetypes ).filter( // No .videopress file extension => extension !== 'videopress' ); const fileInputExtensions = allowedVideoExtensions .map( extension => `.${ extension }` ) .join( ',' ); export { allowedVideoExtensionsAndMimetypes, allowedVideoExtensions, fileInputExtensions };