adjust streamDownload capability to exclude safari but not chrome
This commit is contained in:
parent
71b24b05d0
commit
025f040388
1 changed files with 4 additions and 1 deletions
|
@ -69,7 +69,10 @@ export default async function capabilities() {
|
||||||
streamDownload:
|
streamDownload:
|
||||||
nativeStreams &&
|
nativeStreams &&
|
||||||
'serviceWorker' in navigator &&
|
'serviceWorker' in navigator &&
|
||||||
!/safari/i.test(navigator.userAgent),
|
!(
|
||||||
|
/safari/i.test(navigator.userAgent) &&
|
||||||
|
!/chrome/i.test(navigator.userAgent)
|
||||||
|
),
|
||||||
multifile: nativeStreams || polyStreams
|
multifile: nativeStreams || polyStreams
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue