2021-06-04 16:19:41 +02:00
|
|
|
export class WebviewOnOldIOS extends Error {
|
2021-09-06 14:27:54 +02:00
|
|
|
static NAME = "WebviewOnOldIOS";
|
2021-06-04 16:19:41 +02:00
|
|
|
|
|
|
|
constructor() {
|
2021-09-06 14:27:54 +02:00
|
|
|
super(
|
|
|
|
"Your iOS version cannot use video/audio in the browser unless you are using Safari. Please switch to Safari or upgrade iOS to 14.3 or above."
|
|
|
|
);
|
2021-06-04 16:19:41 +02:00
|
|
|
this.name = WebviewOnOldIOS.NAME;
|
|
|
|
}
|
|
|
|
}
|