feat(cast): allow custom cast data and custom receivers

This commit is contained in:
2026-07-19 13:59:45 +02:00
parent 8656fb8068
commit ee4b1a3e32
6 changed files with 48 additions and 25 deletions
+2 -1
View File
@@ -13,7 +13,7 @@ import type {
Rendition,
Track,
} from "./types/player";
import type { Source, Subtitle } from "./types/source";
import type { CastOptions, Source, Subtitle } from "./types/source";
export type SubtitleFormat = "vtt" | "ass" | "pgs" | "native";
@@ -60,6 +60,7 @@ export class WebOmniPlayer implements OmniPlayer {
this._store.state.toggleRemotePlayback();
}
castOptions: CastOptions | null = null;
_source: Source | null = null;
private _showNotification = false;