mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-24 03:27:43 +00:00
Update StreamsScreen.tsx
This commit is contained in:
parent
6eae438300
commit
bdb2803371
1 changed files with 12 additions and 1 deletions
|
|
@ -1288,7 +1288,18 @@ export const StreamsScreen = () => {
|
|||
`vidhub://${streamUrl}`
|
||||
];
|
||||
break;
|
||||
|
||||
case 'infuse_livecontainer': {
|
||||
const infuseUrls = [
|
||||
`infuse://x-callback-url/play?url=${streamUrl}`,
|
||||
`infuse://play?url=${streamUrl}`,
|
||||
`infuse://${streamUrl}`
|
||||
];
|
||||
externalPlayerUrls = infuseUrls.map(infuseUrl => {
|
||||
const encoded = Buffer.from(infuseUrl).toString('base64');
|
||||
return `livecontainer://open-web-page?url=${encoded}`;
|
||||
});
|
||||
break;
|
||||
}
|
||||
default:
|
||||
// If no matching player or the setting is somehow invalid, use internal player
|
||||
navigateToPlayer(stream);
|
||||
|
|
|
|||
Loading…
Reference in a new issue