mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Create and inject caption playlist in HLS master
This commit is contained in:
parent
a7be820abc
commit
6e44e7e29a
49 changed files with 1368 additions and 401 deletions
|
@ -3,3 +3,7 @@ export const uuidRegex = '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-
|
|||
export function removeFragmentedMP4Ext (path: string) {
|
||||
return path.replace(/-fragmented.mp4$/i, '')
|
||||
}
|
||||
|
||||
export function removeVTTExt (path: string) {
|
||||
return path.replace(/\.vtt$/i, '')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue