mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-15 05:36:17 -08:00
fix(playback): clarify external player launch feedback (#1388)
This commit is contained in:
1 parent
8442747c37
commit
d73acd6bfc
101 files changed
+8819
-850
No files matched your search
+1
@@ -611,6 +611,7 @@ describe('UnifiedLiveTabComponent', () => {
|
||||
webPlayer.externalFallbackRequested.emit({
|
||||
player: 'mpv',
|
||||
playback,
|
||||
trackLaunch: jest.fn(),
|
||||
diagnostic: {
|
||||
code: 'network-error',
|
||||
player: 'videojs',
|
||||
|
||||
+3
-1
@@ -537,10 +537,12 @@ export class UnifiedLiveTabComponent {
|
||||
}
|
||||
|
||||
handleExternalFallbackRequest(request: PlaybackFallbackRequest): void {
|
||||
void this.portalPlayer.openExternalPlayback(
|
||||
const launch = this.portalPlayer.openExternalPlayback(
|
||||
request.playback,
|
||||
request.player
|
||||
);
|
||||
request.trackLaunch(launch);
|
||||
void launch;
|
||||
}
|
||||
|
||||
onClose(): void {
|
||||
|
||||
Reference in new issue
Block a user