feat: adjustable subtitle position

close #426
This commit is contained in:
edde746
2026-02-09 21:22:19 +01:00
parent 4d50c778ad
commit 2de92e660d
25 changed files with 129 additions and 23 deletions
+2
View File
@@ -276,6 +276,7 @@ class PlayerAndroid extends PlayerBase {
required String borderColor,
required String bgColor,
required int bgOpacity,
int subtitlePosition = 100,
}) async {
checkDisposed();
if (!initialized) return;
@@ -286,6 +287,7 @@ class PlayerAndroid extends PlayerBase {
'borderColor': borderColor,
'bgColor': bgColor,
'bgOpacity': bgOpacity,
'subtitlePosition': subtitlePosition,
});
}