Video preview shown in full size when torrent info page #405

Open
opened 2025-04-21 15:09:13 -04:00 by idk · 3 comments
Owner

Opened 5 months ago

Last modified 5 months ago

#2795newdefect

Video preview shown in full size when torrent info page

Reported by:R4SASOwned by:zzz
Priority:
minor
Milestone:
0.9.48
Component:
apps/i2psnark
Version:
0.9.46
Keywords:
i2psnark template
Cc:

Parent Tickets:

Sensitive:
no

Description

I have torrent with video in it, when I open info page I see oversized player with downloaded video.

Player block size must be limited to prevent page style break.

Solution is using max-height on video block.

.snarkFileIcon video {
    max-height: 240px;
}

Same thing can happen with images, not tested.

Subtickets

Opened [5 months ago](/timeline?from=2020-11-29T23%3A59%3A02Z&precision=second "See timeline at Nov 29, 2020 11:59:02 PM") Last modified [5 months ago](/timeline?from=2020-12-01T03%3A03%3A07Z&precision=second "See timeline at Dec 1, 2020 3:03:07 AM") ## [\#2795](/ticket/2795)[new](/query?status=new)[defect](/query?status=!closed&type=defect) # Video preview shown in full size when torrent info page Reported by:[R4SAS](/query?status=!closed&reporter=r4sas)Owned by:[zzz](/query?status=!closed&owner=zzz) Priority: [minor](/query?status=!closed&priority=minor) Milestone: [0.9.48](/milestone/0.9.48 "Completed 5 months ago (Dec 1, 2020 12:00:00 PM)") Component: [apps/i2psnark](/query?status=!closed&component=apps%2Fi2psnark) Version: [0.9.46](/query?status=!closed&version=0.9.46) Keywords: [i2psnark](/query?status=!closed&keywords=~i2psnark) [template](/query?status=!closed&keywords=~template) Cc: Parent Tickets: Sensitive: [no](/query?status=!closed&sensitive=0) ### Description I have torrent with video in it, when I open info page I see oversized player with downloaded video. Player block size must be limited to prevent page style break. Solution is using `max-height` on video block. ``` .snarkFileIcon video { max-height: 240px; } ``` Same thing can happen with images, not tested. ### Subtickets
idk added this to the 0.9.48 milestone 2025-04-21 15:09:13 -04:00
idk added the
#2795
0.9.48
apps
i2psnark
labels 2025-04-21 15:09:13 -04:00
Author
Owner

comment:2 Changed 5 months ago by R4SAS

I'm testing on current git trunk from github at commit 6e8fd42efd, browser - Chromuim.

[comment:2](https://trac.i2p2.de/\#comment:2) Changed [5 months ago](https://trac.i2p2.de//timeline?from=2020-12-01T03%3A03%3A07Z&precision=second "See timeline at Dec 1, 2020 3:03:07 AM") by R4SAS I'm testing on current git trunk from github at commit 6e8fd42efd1ea853b40e071cb6a6ed9b08d93d1a, browser - Chromuim.
Author
Owner

comment:1 Changed 5 months ago by zzz

Milestone:undecided →
0.9.48

what i2p version? what browser?

I fixed this a couple of weeks ago, will be in 0.9.48

[comment:1](https://trac.i2p2.de/\#comment:1) Changed [5 months ago](https://trac.i2p2.de//timeline?from=2020-11-30T12%3A55%3A28Z&precision=second "See timeline at Nov 30, 2020 12:55:28 PM") by zzz Milestone:undecided → 0.9.48 what i2p version? what browser? I fixed this a couple of weeks ago, will be in 0.9.48
Author
Owner

Changed 5 months ago by R4SAS

Attachment:cssfix.patch
added

Proposed patch for fixing problem with video

Changed [5 months ago](https://trac.i2p2.de//timeline?from=2020-11-30T00%3A05%3A39Z&precision=second "See timeline at Nov 30, 2020 12:05:39 AM") by R4SAS Attachment:[_cssfix.patch_](https://trac.i2p2.de//attachment/ticket/2795/cssfix.patch) [​](https://trac.i2p2.de//raw-attachment/ticket/2795/cssfix.patch "Download") added Proposed patch for fixing problem with video
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: I2P_Developers/i2p.i2p#405
No description provided.