Log error if video fails to load

This commit is contained in:
WardPearce
2026-02-11 18:12:57 +13:00
parent d86c865fd5
commit d469c55258
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -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' ||