diff --git a/client/src/standalone/videos/embed.html b/client/src/standalone/videos/embed.html index 64331397e..b9373a5d2 100644 --- a/client/src/standalone/videos/embed.html +++ b/client/src/standalone/videos/embed.html @@ -95,6 +95,15 @@ return } + // Video element is already created, don't crash the player + if (document.querySelector('.vjs-can-play')) { + if (window.logger && typeof window.logger.error === 'function') { + window.logger.error('Uncaught error in embed player ', err) + } + + return + } + window.displayIncompatibleBrowser(err) if (window.logger && typeof window.logger.error === 'function') {