mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-05 15:49:22 +00:00
Custom grayjay open video url handling
This commit is contained in:
parent
2da3116111
commit
251a5701af
1 changed files with 4 additions and 0 deletions
|
@ -497,6 +497,10 @@ class MainActivity : AppCompatActivity, IWithResultLauncher {
|
||||||
};
|
};
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
}
|
}
|
||||||
|
else if(targetData.startsWith("grayjay://video/")) {
|
||||||
|
val videoUrl = targetData.substring("grayjay://video/".length);
|
||||||
|
navigate(_fragVideoDetail, videoUrl);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
"content" -> {
|
"content" -> {
|
||||||
if(!handleContent(targetData, intent.type)) {
|
if(!handleContent(targetData, intent.type)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue