mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-10-26 22:21:38 +03:00
Fix player subtitles on iOS
This commit is contained in:
parent
fde6b32ca5
commit
4e09837aa0
@ -361,7 +361,10 @@ export class PeerTubePlayer {
|
|||||||
|
|
||||||
getVideojsOptions (): videojs.PlayerOptions {
|
getVideojsOptions (): videojs.PlayerOptions {
|
||||||
const html5 = {
|
const html5 = {
|
||||||
preloadTextTracks: false
|
preloadTextTracks: false,
|
||||||
|
// Prevent a bug on iOS where the text tracks added by peertube plugin are removed on play
|
||||||
|
// See https://github.com/Chocobozzz/PeerTube/issues/6351
|
||||||
|
nativeTextTracks: false
|
||||||
}
|
}
|
||||||
|
|
||||||
const plugins: VideoJSPluginOptions = {
|
const plugins: VideoJSPluginOptions = {
|
||||||
|
Loading…
Reference in New Issue
Block a user