mirror of
https://github.com/samsonjs/media.git
synced 2026-04-24 14:37:45 +00:00
Disable text selection in SubtitleWebView
PiperOrigin-RevId: 298605366
This commit is contained in:
parent
58f42e9f8b
commit
63256a48d4
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ import java.util.List;
|
|||
cueText.append(SpannedToHtmlConverter.convert(cues.get(i).text));
|
||||
}
|
||||
webView.loadData(
|
||||
"<html><body><p style=\"color:red;font-size:20px;height:150px\">"
|
||||
"<html><body><p style=\"color:red;font-size:20px;height:150px;-webkit-user-select:none;\">"
|
||||
+ cueText
|
||||
+ "</p></body></html>",
|
||||
"text/html",
|
||||
|
|
|
|||
Loading…
Reference in a new issue