From 24660e69d54871d0c1928d9de050592c6cdb07da Mon Sep 17 00:00:00 2001
From: yumata <91452496+yumata@users.noreply.github.com>
Date: Sat, 14 Feb 2026 11:34:56 +0200
Subject: [PATCH] Fixed player styles and added fullscreen on double-click
---
app.min.js | 26 ++++++++++++++++++--------
assembly.json | 12 ++++++------
css/app.css | 6 +++---
3 files changed, 27 insertions(+), 17 deletions(-)
diff --git a/app.min.js b/app.min.js
index 941bb0f..8c370ae 100644
--- a/app.min.js
+++ b/app.min.js
@@ -2065,8 +2065,8 @@
var object$2 = {
author: 'Yumata',
github: 'https://github.com/yumata/lampa-source',
- css_version: '3.1.5',
- app_version: '3.1.5',
+ css_version: '3.1.6',
+ app_version: '3.1.6',
cub_site: 'cub.rip',
apk_link_download: 'https://github.com/lampa-app/LAMPA/releases/download/v1.12.3/app-lite-release.apk'
};
@@ -2550,7 +2550,7 @@
var html$1B = "
\n
\n
\n

\n
\n\n
\n
{title}
\n
{original_title}
\n
\n
\n
\n \n
\n
";
- var html$1A = "\n
#{about_text}
\n\n\n
\n\n
\n
#{termsofuse_t_01}
\n\n
#{termsofuse_t_02}
\n\n
\n - \n
#{termsofuse_t_03}
\n\n \n #{termsofuse_t_04}
\n\n #{termsofuse_t_05}
\n\n #{termsofuse_t_06}
\n\n #{termsofuse_t_07}
\n
\n \n \n\n - \n
#{termsofuse_t_08}
\n\n \n #{termsofuse_t_09}
\n #{termsofuse_t_10}
\n
\n \n\n - \n
#{termsofuse_t_11}
\n\n \n #{termsofuse_t_12}
\n #{termsofuse_t_13}
\n
\n \n
\n
\n
";
+ var html$1A = "\n
#{about_text}
\n\n\n
\n\n
\n
#{termsofuse_t_01}
\n\n
#{termsofuse_t_02}
\n\n
\n - \n
#{termsofuse_t_03}
\n\n \n #{termsofuse_t_04}
\n\n #{termsofuse_t_05}
\n\n #{termsofuse_t_06}
\n\n #{termsofuse_t_07}
\n
\n \n \n\n - \n
#{termsofuse_t_08}
\n\n \n #{termsofuse_t_09}
\n #{termsofuse_t_10}
\n
\n \n\n - \n
#{termsofuse_t_11}
\n\n \n #{termsofuse_t_12}
\n #{termsofuse_t_13}
\n
\n \n
\n
\n
";
var html$1z = "";
@@ -11927,16 +11927,26 @@
}, 300);
} else if (click_nums > 1) {
click_timer = setTimeout(function () {
- var dir = e.clientX > window.innerWidth / 2 ? 1 : -1;
+ var third = window.innerWidth / 3;
var pow = (click_nums - 1) * 10;
+ var dir;
+
+ if (e.clientX > third * 2) {
+ dir = 1;
+ } else if (e.clientX < third) {
+ dir = -1;
+ }
if (dir == 1) {
forwardIcon.addClass('rewind').find('span').text('+' + pow + ' sec');
- } else {
+ to(_video.currentTime + dir * pow);
+ } else if (dir == -1) {
backworkIcon.addClass('rewind').find('span').text('-' + pow + ' sec');
+ to(_video.currentTime + dir * pow);
+ } else if (Utils$1.canFullScreen()) {
+ Utils$1.toggleFullscreen();
}
- to(_video.currentTime + dir * pow);
click_nums = 0;
}, 300);
}
@@ -49721,8 +49731,8 @@
console.log('App', 'is PWA:', Utils$1.isPWA());
console.log('App', 'platform:', Storage.get('platform', 'noname'));
console.log('App', 'version:', object$2.app_version);
- console.log('App', 'build date:', '2026-02-11 12:37');
- console.log('App', 'hash', 'c5e473e77747fdf27747b2920f07c858');
+ console.log('App', 'build date:', '2026-02-14 11:34');
+ console.log('App', 'hash', 'db9393457c90eaf9b3649bf123b6494a');
console.log('App', 'location:', location.href); // Записываем uid
if (!Storage.get('lampa_uid', '')) Storage.set('lampa_uid', Utils$1.uid()); // Ренедрим лампу
diff --git a/assembly.json b/assembly.json
index 45c0b52..63a0505 100644
--- a/assembly.json
+++ b/assembly.json
@@ -1,8 +1,8 @@
{
- "app_version": "3.1.5",
- "css_version": "3.1.5",
- "css_digital": 315,
- "app_digital": 315,
- "time": 1770806278315,
- "hash": "c5e473e77747fdf27747b2920f07c858"
+ "app_version": "3.1.6",
+ "css_version": "3.1.6",
+ "css_digital": 316,
+ "app_digital": 316,
+ "time": 1771061684914,
+ "hash": "db9393457c90eaf9b3649bf123b6494a"
}
\ No newline at end of file
diff --git a/css/app.css b/css/app.css
index cdd9198..2efd69f 100644
--- a/css/app.css
+++ b/css/app.css
@@ -6199,15 +6199,15 @@ body.true--mobile .player-info .head-backward__button {
display: none;
}
-body.mouse--controll .player-info__body {
+body:not(.true--mobile).mouse--controll .player-info__body {
padding-left: 5em;
}
-body.mouse--controll .player-info .head-backward {
+body:not(.true--mobile).mouse--controll .player-info .head-backward {
position: absolute;
left: 0;
top: 1.1em;
}
-body.mouse--controll .player-info .head-backward__title {
+body:not(.true--mobile).mouse--controll .player-info .head-backward__title {
display: none;
}