mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +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);
|
||||
}
|
||||
else if(targetData.startsWith("grayjay://video/")) {
|
||||
val videoUrl = targetData.substring("grayjay://video/".length);
|
||||
navigate(_fragVideoDetail, videoUrl);
|
||||
}
|
||||
}
|
||||
"content" -> {
|
||||
if(!handleContent(targetData, intent.type)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue