PeerTube icon indicating copy to clipboard operation
PeerTube copied to clipboard

Better support for vertical format videos on peertube site and embeds

Open despens opened this issue 3 years ago • 3 comments

Describe the problem to be solved

Vertical videos are handled and played fine on a peertube site and when embedded. However, the poster image (the setting displayed before users start the video manually) always assumes a horizontal, landscape format video:

image This example from a peertube site shows big letterboxes, but in fact should show pillarboxes.

Screenshot-20220513130226-830x450 The embed code produced by peertube is also not respecting the video format and produces a 16:9 embed

Screenshot-20220513130729-683x985 When manually changing the embed code to the right proportions, the letterboxes appear.

In any case, once hitting play the video takes up the available height and plays perfectly.

Describe the solution you would like:

  • It would be great if the poster image before a video plays would use the available surface respecting the videos format. Especially when vertical format videos are embedded, it looks like the video would be very small with lots of space wasted on letterboxes.
  • Ideally, the embed code produced by peertube would respect the video's aspect ratio. Users will have a difficult time fixing this.

PS: I sincerely want to apologize for the video I used to illustrate my proposal.

despens avatar May 13 '22 11:05 despens

I agree! I also have this issue with any non-standard aspect ratio. I just want to get rid of the letterboxes.

candideu avatar Dec 08 '22 15:12 candideu

I have a similar issue/idea and posted it here: https://ideas.joinpeertube.org/posts/159/thumbnail-aspect-ratio

SnejPro avatar May 21 '23 13:05 SnejPro

Fitting the poster image orientation and the embed code to the aspect ratio of vertical videos would be very very nice! For mobile use, it would be a better user experience. I hope, someone can help.

tigexplorer avatar Dec 05 '23 17:12 tigexplorer