Skip to content

Commit b987662

Browse files
authored
fix: Disable translate of cues when using UITextDisplayer (#8636)
1 parent 9f82d4f commit b987662

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/text/ui_text_displayer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,7 @@ shaka.text.UITextDisplayer = class {
768768
}
769769
}
770770
if (text) {
771+
elem.setAttribute('translate', 'no');
771772
elem.textContent = text;
772773
}
773774
}

0 commit comments

Comments
 (0)