This commit is contained in:
Markos Gogoulos
2026-02-20 15:59:42 +02:00
parent 533a30b6cb
commit 86fa084391
3 changed files with 3 additions and 3 deletions

View File

@@ -176,7 +176,7 @@ export default class VideoViewer extends React.PureComponent {
topLeftHtml = document.createElement('div');
topLeftHtml.setAttribute('class', 'media-links-top-left');
const linkTarget = inEmbeddedApp() ? '_self' : '_blank';
const linkTarget = inEmbeddedApp() || window.location.href.indexOf('lms_embed_mode') > -1 ? '_self' : '_blank';
if (titleLink) {
titleLink.setAttribute('class', 'title-link');