Backport pull request #6510 from jellyfin-web/release-10.10.z

Fix re-focusing on pause button when displaying OSD

Original-merge: c3c598e1f409b51e5b44cec26bdee6af765d20ef

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
This commit is contained in:
dmitrylyzo
2025-04-02 01:13:23 -04:00
committed by thornbill
parent bf30d76ac0
commit ea8636433d
3 changed files with 25 additions and 19 deletions
+2 -1
View File
@@ -49,7 +49,8 @@ class SkipSegment extends PlaybackSubscriber {
if (!this.skipElement && this.currentSegment) {
let buttonHtml = '';
buttonHtml += '<button is="emby-button" class="skip-button hide skip-button-hidden"></button>';
// FIXME: Move skip button to the video OSD
buttonHtml += '<div class="skip-button-container"><button is="emby-button" class="skip-button hide skip-button-hidden"></button></div>';
document.body.insertAdjacentHTML('beforeend', buttonHtml);