1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 01:39:37 +02:00

Fast forward on HLS decode error

This commit is contained in:
Chocobozzz 2022-02-02 11:16:23 +01:00
parent b25fdc73fd
commit c4207f978e
No known key found for this signature in database
GPG key ID: 583A612D890159BE
10 changed files with 610 additions and 549 deletions

View file

@ -14,7 +14,7 @@ import {
VideoPlaylistElement,
VideoStreamingPlaylistType
} from '../../../../shared/models'
import { P2PMediaLoaderOptions, PeertubePlayerManagerOptions, PlayerMode } from '../../assets/player/peertube-player-manager'
import { P2PMediaLoaderOptions, PeertubePlayerManagerOptions, PlayerMode } from '../../assets/player'
import { VideoJSCaption } from '../../assets/player/peertube-videojs-typings'
import { TranslationsManager } from '../../assets/player/translations-manager'
import { isP2PEnabled } from '../../assets/player/utils'
@ -558,7 +558,11 @@ export class PeerTubeEmbed {
serverUrl: window.location.origin,
language: navigator.language,
embedUrl: window.location.origin + videoInfo.embedPath,
embedTitle: videoInfo.name
embedTitle: videoInfo.name,
errorNotifier: () => {
// Empty, we don't have a notifier in the embed
}
},
webtorrent: {
@ -664,7 +668,6 @@ export class PeerTubeEmbed {
this.player.dispose()
this.playerElement = null
this.displayError('This video is not available because the remote instance is not responding.', translations)
}
}