Mobile browser touch gestures

Add touch gestures to your mobile browser, ready to use and no configuration required. In addition to general gestures, there are also special gestures for text, images, and videos. Do you still think it's not enough? Support adding personalized gestures that belong to you. We recommend using Lemur browser, Yandex browser, and Kiwi browser.

< Feedback on Mobile browser touch gestures

Review: Good - script works

§
Posted: 2023-06-23

1.再次反馈3月30日视频横屏时视频会左移的解决思路,测试安装了“触摸屏视频优化”,左移问题解决。(测试手机是mate50p,kiwi浏览器,左侧横放和右侧横放效果不一,应该是脚本问题,推荐的这个脚本左右横放效果都正常,奈何水平有限修改不成功,希望大大能参照此脚本解决横移问题,站内可搜);2.全屏播放,开启屏幕录制功能录不到声音,要关闭脚本才能录到,希望改进,多年支持的老用户

L.XavierAuthor
§
Posted: 2023-06-24

1.你可以试试将352行代码注释掉试试。352行代码在视频全屏时给视频添加了兼容性样式,有可能是这出问题。

2.我试了我的屏幕录制,没有发现你说的问题。所以这个我也不清楚原因,脚本也没有任何影响音频的代码。这个问题和系统和软件都有关系,很难说是哪出了问题。

我这里没有你说的问题,所以很难排查出问题在哪,抱歉!

§
Posted: 2023-06-24

352代码注释了,左移问题还是存在的,而且屏幕放大。如果不好改,可以单独给一串代码吗,让我在全屏左转或者右转时,屏幕显示正常

L.XavierAuthor
§
Posted: 2023-06-24
Edited: 2023-06-24

在352行引号内结尾加入

*[_videobox_="outer"]{margin-left:偏移的像素值px !important;}

偏移的像素值改为你需要的数字,不保证有用!

L.XavierAuthor
§
Posted: 2023-06-24

替换352行,偏移的像素值改为你需要的数字,不保证有用!

videoCss.innerHTML='*[_videobox_]{inset:0 !important;margin:0 !important;margin-left:偏移像素值px !important;padding:0 !important;transform:none !important;}*[_videobox_=""]{width:100% !important;height:100% !important;max-width:100% !important;max-height:100% !important;}video{position:fixed !important;object-fit:contain !important;}';

§
Posted: 2023-06-25

没用,设置像素值后会出现白边,画面全屏后还是有左移的

L.XavierAuthor
§
Posted: 2023-06-26

我想到一种可能性,手机是否是打孔屏,未设置好软件全屏时匹配顶部区域,所以在全屏状态下偏移。

如果是这个原因,可以在系统设置-显示和亮度-全屏显示里设置。不同品牌手机可能在设置中稍有不同。

Post reply

Sign in to post a reply.