Skip to content

Commit a6fb5d8

Browse files
authored
Fix subtitles being in the top right corner (#7841)
1 parent f37a945 commit a6fb5d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/renderer/helpers/api/local.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,10 @@ export async function getLocalVideoInfo(id) {
323323
url.searchParams.set('pot', contentPoToken)
324324
url.searchParams.set('c', clientName)
325325

326+
// Remove &xosf=1 as it adds `position:63% line:0%` to the subtitle lines
327+
// placing them in the top right corner
328+
url.searchParams.delete('xosf')
329+
326330
captionTrack.base_url = url.toString()
327331
}
328332
}

0 commit comments

Comments
 (0)