diff --git a/materialious/android/build.gradle b/materialious/android/build.gradle index 72875a9a..5d2b397a 100644 --- a/materialious/android/build.gradle +++ b/materialious/android/build.gradle @@ -6,7 +6,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:8.13.0' + classpath 'com.android.tools.build:gradle:8.13.2' classpath 'com.google.gms:google-services:4.4.4' // NOTE: Do not place your application dependencies here; they belong diff --git a/materialious/electron/package.json b/materialious/electron/package.json index 5c6ee983..991a8577 100644 --- a/materialious/electron/package.json +++ b/materialious/electron/package.json @@ -44,4 +44,4 @@ "capacitor", "electron" ] -} \ No newline at end of file +} diff --git a/materialious/src/lib/components/Player.svelte b/materialious/src/lib/components/Player.svelte index a1792145..1ba08780 100644 --- a/materialious/src/lib/components/Player.svelte +++ b/materialious/src/lib/components/Player.svelte @@ -206,7 +206,7 @@ if (isFullScreen) { // Ensure bar color is black while in fullscreen await SafeArea.setSystemBarsStyle({ - style: SystemBarsStyle.Light + style: SystemBarsStyle.Dark }); await SafeArea.hideSystemBars({ type: SystemBarsType.NavigationBar @@ -829,9 +829,9 @@ const currentSliderPercentage = (playerCurrentTime / playerMaxKnownTime) * 100; - const effectiveWidth = Math.max(bufferedWidth, 0); + const effectiveWidth = Math.min(Math.max(bufferedWidth, 0), currentSliderPercentage); bufferBar.style.width = effectiveWidth + '%'; - bufferBar.style.left = currentSliderPercentage + '%'; + bufferBar.style.left = Math.min(currentSliderPercentage, 100) + '%'; } }); @@ -1041,14 +1041,14 @@ {/if} {#if !hideControls}
-

+

{#if data.video.liveNow} {$_('thumbnail.live')} {:else} {videoLength(playerCurrentTime)} / {videoLength(playerMaxKnownTime)} {/if}

-

+

{playerVideoEndTimePretty}

@@ -1057,7 +1057,11 @@
{#if clickCount > 1 && seekDirection === 'backwards'} -
+

-{(clickCount - 1) * playerDoubleTapSeek}

{/if} @@ -1067,7 +1071,7 @@ {#if playerIsBuffering} {:else if !playerCurrentPlaybackState} - {/if} @@ -1075,7 +1079,11 @@
{#if clickCount > 1 && seekDirection === 'forwards'} -
+

+{(clickCount - 1) * playerDoubleTapSeek}

{/if} @@ -1085,30 +1093,32 @@ {#if !hideControls}
{#if playerTimelineTooltipVisible} -
+
{videoLength(playerTimelineTimeHover)}
{/if}