mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 10:06:15 -08:00
* docs(playback): design structured mpegts diagnostics * docs(playback): plan structured mpegts diagnostics * fix(playback): structure mpegts error evidence * fix(playback): structure HTML5 mpegts errors * fix(playback): share mpegts evidence across players * fix(playback): render structured mpegts evidence * docs(playback): document structured mpegts diagnostics * chore(playback): keep diagnostics lint clean * docs(playback): complete mpegts diagnostics plan
19 lines
772 B
TypeScript
19 lines
772 B
TypeScript
export function isBrowserAccessFailure(details: string): boolean {
|
|
return (
|
|
details.includes('cors') ||
|
|
details.includes('cross-origin') ||
|
|
details.includes('cross origin') ||
|
|
details.includes('access-control') ||
|
|
details.includes('access control') ||
|
|
details.includes('content security policy') ||
|
|
details.includes('mixed content') ||
|
|
details.includes('private network access') ||
|
|
details.includes('blocked by content security') ||
|
|
details.includes('blocked by cors') ||
|
|
details.includes('blocked by mixed content') ||
|
|
details.includes('not allowed to load local resource') ||
|
|
details.includes('err_blocked') ||
|
|
details.includes('err_cleartext')
|
|
);
|
|
}
|