Skip to content

Commit

Permalink
Improve clip thub size
Browse files Browse the repository at this point in the history
server are providing too big imgs causing general app lag
  • Loading branch information
fgl27 committed Sep 9, 2024
1 parent 5877154 commit 9e61c23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/specific/ScreensObj.js
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,6 @@ function ScreensObj_InitClip() {
ContentLang: '',
periodPos: Main_getItemInt('Clip_periodPos', 2),
base_post: topClipQuery,
periods: [topClipQuery],
set_url: function () {
this.dataEnded = true;
this.post = this.base_post
Expand Down Expand Up @@ -2962,7 +2961,7 @@ function ScreensObj_ClipCellArray(cell, isQuery) {
cell.created_at, //12
cell.viewCount, //13
Main_addCommas(cell.viewCount), //14
cell.thumbnailURL, //15
cell.thumbnailURL ? cell.thumbnailURL.replace('/preview.jpg', '/preview-' + Main_VideoSize + '.jpg') : cell.thumbnailURL, //15
Main_videoCreatedAt(cell.createdAt), //16
cell.language, //17
cell.game_id //18
Expand Down

0 comments on commit 9e61c23

Please sign in to comment.