Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-26 15:07:12 +08:00
parent 81f72e2c4a
commit 12c13cd25a
22 changed files with 139 additions and 213 deletions

View File

@@ -171,9 +171,7 @@ class _WebviewPageState extends State<WebviewPage> {
callback: (args) async {
WebUri? uri = await controller.getUrl();
if (uri != null) {
String? oid = RegExp(r'oid=(\d+)')
.firstMatch(uri.toString())
?.group(1);
String? oid = uri.queryParameters['oid'];
if (oid != null) {
PiliScheme.videoPush(int.parse(oid), null);
}