Updated how dearrow local fallback processing works
This commit is contained in:
@@ -7,8 +7,8 @@ android {
|
||||
applicationId "us.materialio.app"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 9
|
||||
versionName "1.0.9"
|
||||
versionCode 10
|
||||
versionName "1.0.10"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
aaptOptions {
|
||||
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Materialious",
|
||||
"version": "1.0.9",
|
||||
"version": "1.0.10",
|
||||
"description": "Modern material design for Invidious.",
|
||||
"author": {
|
||||
"name": "Ward Pearce",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "materialious",
|
||||
"version": "1.0.9",
|
||||
"version": "1.0.10",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
let imageSrc = getBestThumbnail(video.videoThumbnails);
|
||||
let imageSrc = getBestThumbnail(video.videoThumbnails) as string;
|
||||
|
||||
if (get(deArrowEnabledStore)) {
|
||||
let locatedThumbnail = false;
|
||||
@@ -107,13 +107,14 @@
|
||||
|
||||
mockVideo.preload = 'auto';
|
||||
mockVideo.id = 'video';
|
||||
const videoToThumbnail = (await getVideo(video.videoId)).formatStreams[0].url;
|
||||
mockVideo.src = get(playerProxyVideosStore)
|
||||
? proxyVideoUrl(videoToThumbnail)
|
||||
: videoToThumbnail;
|
||||
mockVideo.crossOrigin = 'anonymous';
|
||||
|
||||
const videoDetails = (await getVideo(video.videoId)).formatStreams[0];
|
||||
|
||||
mockVideo.src = proxyVideoUrl(videoDetails.url);
|
||||
|
||||
mockVideo.addEventListener('loadeddata', () => {
|
||||
mockVideo.currentTime = mockVideo.duration / 100;
|
||||
mockVideo.currentTime = mockVideo.duration / 50;
|
||||
|
||||
mockVideo.addEventListener('seeked', () => {
|
||||
if (context) {
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import json
|
||||
import os
|
||||
import re
|
||||
|
||||
LATEST_VERSION = "1.0.9"
|
||||
LATEST_VERSION = "1.0.10"
|
||||
WORKING_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "materialious")
|
||||
|
||||
ROOT_PACKAGE = os.path.join(WORKING_DIR, "package.json")
|
||||
|
||||
Reference in New Issue
Block a user