Log error if video fails to load
This commit is contained in:
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "Materialious",
|
||||
"version": "1.13.18",
|
||||
"version": "1.13.19",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "Materialious",
|
||||
"version": "1.13.18",
|
||||
"version": "1.13.19",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@capacitor-community/electron": "^5.0.0",
|
||||
|
||||
@@ -1031,6 +1031,8 @@
|
||||
try {
|
||||
await loadVideo();
|
||||
} catch (error: unknown) {
|
||||
console.error(error);
|
||||
|
||||
if (
|
||||
!Capacitor.isNativePlatform() ||
|
||||
data.video.fallbackPatch === 'youtubejs' ||
|
||||
|
||||
Reference in New Issue
Block a user