Fixed transcript and pause timeout

This commit is contained in:
WardPearce
2025-02-16 19:15:18 +13:00
parent 725445f932
commit 3b0d831141
5 changed files with 21 additions and 23 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ android {
applicationId "us.materialio.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 90
versionName "1.7.8"
versionCode 91
versionName "1.7.9"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "Materialious",
"version": "1.7.8",
"version": "1.7.9",
"description": "Modern material design for Invidious.",
"author": {
"name": "Ward Pearce",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "materialious",
"version": "1.7.8",
"version": "1.7.9",
"private": true,
"scripts": {
"dev": "vite dev",
@@ -664,7 +664,7 @@
</div>
{#if !theatreMode}
<div class="s12 m12 l3">
{#if player && showTranscript}
{#if showTranscript}
<Transcript bind:player video={data.video} />
{/if}
{#if playlist}
@@ -755,23 +755,21 @@
</div>
<dialog class="modal" id="pause-timer">
{#if player}
<div class="field middle-align">
<label class="slider">
<input
type="range"
bind:value={pauseTimerSeconds}
min="0"
step="60"
max={data.video.lengthSeconds - playerCurrentTime - 60}
/>
<span></span>
</label>
{#if pauseTimerSeconds > 0}
<span class="helper">{$_('player.pauseVideoIn')} {humanizeSeconds(pauseTimerSeconds)}</span>
{/if}
</div>
{/if}
<div class="field middle-align">
<label class="slider">
<input
type="range"
bind:value={pauseTimerSeconds}
min="0"
step="60"
max={data.video.lengthSeconds - playerCurrentTime - 60}
/>
<span></span>
</label>
{#if pauseTimerSeconds > 0}
<span class="helper">{$_('player.pauseVideoIn')} {humanizeSeconds(pauseTimerSeconds)}</span>
{/if}
</div>
<nav class="right-align no-space">
<button
class="transparent link"
+1 -1
View File
@@ -5,7 +5,7 @@ import json
import os
import re
LATEST_VERSION = "1.7.8"
LATEST_VERSION = "1.7.9"
WORKING_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "materialious")
ROOT_PACKAGE = os.path.join(WORKING_DIR, "package.json")