feat: add type field to ModeSource and pass to loadVideoSource

This commit is contained in:
2026-06-14 21:37:49 +02:00
parent ef36578c4b
commit c891382efb
6 changed files with 14 additions and 5 deletions

View File

@@ -203,6 +203,7 @@ export const initState = (c: HTMLElement): boolean => {
const qualities = value.qualities;
out[key] = {
token: value.token,
type: typeof value.type === "string" ? value.type : undefined,
subtitles,
qualities: isStringArray(qualities) ? qualities : undefined,
};