This commit is contained in:
2025-04-04 00:01:21 +02:00
parent 8d575241fe
commit 8a13dea681
4 changed files with 16 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
import {matches, MatchMediaType} from '~/lib/match';
import { matches, MatchMediaType } from '~/lib/match';
import Hls from 'hls.js';
import {UrlReferer} from '~/lib/settings';
import { UrlReferer } from '~/lib/settings';
async function playNative(url: string, domain: string, videoElem: HTMLVideoElement) {
await UrlReferer.set(new URL(url).hostname, domain);