Skip to content

Commit 681ee31

Browse files
Fix subtitles being in the top right corner (FreeTubeApp#7841)
1 parent 169aafc commit 681ee31

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
@@ -324,6 +324,10 @@ export async function getLocalVideoInfo(id) {
324324
url.searchParams.set('pot', contentPoToken)
325325
url.searchParams.set('c', clientName)
326326

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

0 commit comments

Comments
 (0)