mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
10 lines
280 B
TypeScript
10 lines
280 B
TypeScript
function isValidPlayerMode (value: any) {
|
|
// TODO: remove webtorrent in v7
|
|
return value === 'webtorrent' || value === 'web-video' || value === 'p2p-media-loader'
|
|
}
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
export {
|
|
isValidPlayerMode
|
|
}
|