aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/standalone')
-rw-r--r--client/src/standalone/videos/embed.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts
index cb05ec2b5..98ce73257 100644
--- a/client/src/standalone/videos/embed.ts
+++ b/client/src/standalone/videos/embed.ts
@@ -321,7 +321,7 @@ class PeerTubeEmbed {
321 } 321 }
322 322
323 private handleError (err: Error) { 323 private handleError (err: Error) {
324 if (err.message.indexOf('http error') !== -1) { 324 if (err.message.indexOf('from xs param') !== -1) {
325 this.player.dispose() 325 this.player.dispose()
326 this.videoElement = null 326 this.videoElement = null
327 this.displayError('This video is not available because the remote instance is not responding.') 327 this.displayError('This video is not available because the remote instance is not responding.')